canonn-science / CAPIv2-Updater

Nodejs based tool to update the Canonn API with planetary and stellar data from EDSM
GNU General Public License v3.0
1 stars 0 forks source link

Add an option to query EDSM for a specific System or Body #2

Closed derrickmehaffy closed 5 years ago

derrickmehaffy commented 5 years ago

Updater should include the ability to query EDSM for a single Body or System based on the ID

Something like npm run updateSystem 1 or npm run updateBody 1 where 1 is the Canonn id

This would allow us to build and run this updater within the CAPIv2 to allow for a "protected" route (requiring authentication) such as GET https://api.canonn.tech/updateSystem/1 to allow for easy updating of systems and/or bodies.

coldwhitelight commented 5 years ago

Solved by: #5

derrickmehaffy commented 5 years ago

PR merged, resolving