-
Notifications
You must be signed in to change notification settings - Fork 874
Secrets File
In order to successfully run npm run wikidata
, you first have to add a secrets.json
file in the project root (same folder as package.json
and README.md
etc.) of your local copy of the NSI repository. This file will not be added to the public repo on your next commit as the file is listed in .gitignore
(and is thus ignored when a list of changed files is generated).
Here is the format of the secrets file:
{
"wikibase": {
"oauth": {
"consumer_key": "consumer-token",
"consumer_secret": "consumer-secret",
"token": "access-token",
"token_secret": "access-secret"
}
}
}
An OAuth 1.0a application is needed to obtain the required credentials consumer-token
, consumer-secret
, access-token
, and access-secret
. You can register for these credentials at https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose/oauth1a.
Contributing to the index
- Feature Files (geofences)
- Using Overpass Turbo
- Config Files
- Property Reference
- Technical Details
Information for developers using the name-suggestion-index in another project.
Information for maintainers, including how to clone and build the project.