This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Flexera Community
- :
- Flexera One
- :
- Flexera One Forum
- :
- Accessing Flexera APi via Python but swagger_client doesn't seem to work
Subscribe
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 29, 2022
07:50 PM
Accessing Flexera APi via Python but swagger_client doesn't seem to work
Hey all -
I'm a long time developer but just a few programs in Python. We want to access data through the APIs on Flexera One. The doc isn't bad and it offers example code in several languages since Since this is just a fetch, I'd use Python.
Using VisualStudio Enterprise.
I tried getting swagger_client via NuGet but it kept saying "Version 0 doesn't exist". It had other Swagger modules that would load so I included them to see if I could get Swagger included (somehow).
That seemed to get me to the next step but stuck again. During authorization I get:
module 'swagger_client.configuration' has no attribute 'api_key'
So does anybody now how to get past this hump?
Thanks!
1 Reply
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 12, 2022
04:43 PM
That's an interesting question, but you may not find many people specifically familiar with swagger_client here. You might have better luck finding another forum on the Internet where topics related to swagger_client are discussed; StackOverflow might be a place to start.
(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)
