Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Add geo lookup support #273

@motin

Description

@motin

Migrated here from the deprecated pioneer-utils repo: mozilla/pioneer-utils#28:

We can leverage the Mozilla Location Service to do region based lookups to narrow down what country a client is in.

Hitting this URL will give you a JSON blob telling you what country you're in:

https://location.services.mozilla.com/v1/country

We can use that to do better than locale testing for geolocation for pioneer addons. This would at least allow pioneer addons to uninstall themselves if they detect the client is in the 'wrong' country.

Full documentation for the region API can be found over here: https://mozilla.github.io/ichnaea/api/region.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions