Skip to content

API don't work, returning useless info #59

@IgdaliasCabamba

Description

@IgdaliasCabamba

I followed the example on GitHub README, but API isn't working

Output:

{'bogon': True,
 'country_name': None,
 'ip': '192.***.**.**,
 'latitude': None,
 'longitude': None}

The code:

import ipinfo
import pprint
handler = ipinfo.getHandler(IP_TOKEN)
details = handler.getDetails(MY_IP)
pprint.pprint(details.all)

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