ipapi-co / ipapi-python

Python bindings for https://ipapi.co (IP Address Location) - Use with python / django / flask for IP address location lookup

Home Page:https://ipapi.co/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multiple fields

srulikuk opened this issue · comments

How can i get multiple fields in 1 request?
ipapi.location(ip='x.x.x.x', output='country, country_name')

@srulikuk :

ipapi.location(ip='x.x.x.x') will return multiple fields (in JSON format as default). You can disregard the ones you don't need. If you have follow up queries about the usage, please contact support at https://ipapi.co/contact/