Finds unknown fort names in any RM database and attempts to find and update the name and images of them.
If you just downloaded the single file, you have to install the
requirements via: npm install axios mysql2
If you cloned the whole repository, simply run: npm install
name_fetcher.js
to match your confgurationnode name_fetcher.js
By default, this script will run perfectly well with any RM database. If
you like to use it with a different DB format, you can specify a custom JSON
formatted config file with adjusted column names via NF_DB_COLS_CONF
. The
format should look like so:
{
"gym": { "table": "gymdetails", "imageCol": "url", "id": "gym_id", "type": "gyms" },
"stop": { "table": "pokestop", "imageCol": "image", "id": "pokestop_id", "type": "stops" }
}
NF_DB_COLS_CONF