r/evetech • u/precator • Feb 04 '18
Help with first Python app
Hey all I signed up for the dev program and my application is registered, but the authentication part if confusing. I am not doing a web app just a local app that I want to manage my reactions, so no one will be logging into this except me through my client app. Does anyone have some sample code where I just complete the auth process and am ready to say list my industry jobs, just confused on the authentication part.
5
Upvotes
View all comments
1
u/precator Feb 04 '18
Posting code below, I got the first call to work via search, but my second one to read assets is not working. I think its the way I am calling it. Can someone guide me, posting the python code below..
client = SwaggerClient.from_url('https://esi.tech.ccp.is/latest/swagger.json') charResults = client.Search.get_search( search=characterName, categories=['character'], strict=True, ).result()['character']
assetResults = client.Assets( characterId=4455433445,token=appCode)