Skip to content

Calling example returns None #72

@notvillers

Description

@notvillers

Hi,
I am trying to integrate OpenSky but if i try to demo with the example file or with any other configuration, i just get None as result.

$> cat pytest.py

from opensky_api import OpenSkyApi

api = OpenSkyApi()

s = api.get_states()

print(s)

$> python pytest.py

None

$>

I used REST API, and maybe I got the unauthenticated user limits, but even even if i pass my username and password and fucks around the lib by getting the raw json I still get 'Unauthorised' as response...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions