Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I get the city? #3

Open
183demao opened this issue Nov 9, 2023 · 1 comment
Open

How can I get the city? #3

183demao opened this issue Nov 9, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@183demao
Copy link

183demao commented Nov 9, 2023

image
I Can get Country for your Demo,but I want get Cidy Info, Can you Help me or offer some advice.

Thank you, very much!

@RobThree RobThree changed the title Hello, how can I get the city? How can I get the city? Nov 9, 2023
@RobThree
Copy link
Owner

RobThree commented Nov 9, 2023

First you need to use a datasource that provides a city, then you query it. For example, the IP2Location datasource provides a city (get it here).

@RobThree RobThree self-assigned this Nov 9, 2023
@RobThree RobThree added the question Further information is requested label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants