sigfox / sigfox-network-test

Script command to geocode a list of addresses and request Sigfox coverage
7 stars 1 forks source link

Coverage API endpoint uses v1, which is depreciated. #2

Closed tbekri closed 4 years ago

tbekri commented 4 years ago

network-test.js line 58 needs to be changed to url: 'http://backend.sigfox.com/api/v2/coverages/global/predictions?lat='+lat + '&lng=' + lng,

nicolsc commented 4 years ago

@tbekri Can you check & confirm it works now ?

I switched to API v2 following your comment + fixed security issues on a couple packages as raised by github + switched to dotenv for the config file

tbekri commented 4 years ago

All good @nicolsc thanks for prompt response.