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

Update map command (see PR notes!) #160

Merged
merged 2 commits into from
Jul 23, 2024
Merged

Update map command (see PR notes!) #160

merged 2 commits into from
Jul 23, 2024

Conversation

h-anjru
Copy link
Collaborator

@h-anjru h-anjru commented Jul 23, 2024

The utilities/map command required an update because both the MapQuest API and the Bitly API had ceased to function; neither are free for use any longer. The command is updated to use the TomTom API, which has a handsome daily allowance of free usage.

The TomTom API more easily allows the user to specify a zoom level, so this functionality has been passed on to the user. From >help map:

>map <location>

Get a map of a location using its name.
You can also specify a zoom level 1-22.
1 is zoomed out the most; 10 is the default.

Example usage: >map hell; 14

This will require that config.py be updated, as we have switched from MapQuest to TomTom API. References to MAPQUEST_API_KEY are now to TOMTOM_API_KEY.

@h-anjru h-anjru merged commit 1d1340b into master Jul 23, 2024
1 check passed
@h-anjru h-anjru deleted the map-command-update branch July 23, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant