Hi everyone, I'm looking for an example of Login using the API KEY in python. I couldn't find any good examples on how to execute the login with the key. After the login with the API Key, I'd also like to search a project. Thanks in advance for any assistance. Cheers Melanie Metcalfe Director of Project Support Foster Moore International Limited
Topics help categorize Community content and increase your ability to discover relevant content.
Hi Melanie, Not sure how to implement this via python, but the basics should be as follows: https:// insertyoururl .my.workfront.com/attask/api/v8.0/project/search?name= Test &name_Mod=cicontains&fields= status,name,progressStatus &apiKey= yourapikey Using an API key, there is no separate login step. You just include the API key in your query. In the above example (an HTTP GET), this does a search for projects containing the word 'Test' and returned their name, status and progress status (and ID of course). Presuming you are familiar with the API explorer, you can work out what other search parameters you want to use and which fields you want to have returned. Hope that helps get you part way there.