Scrape vessel/ship positions from myshiptracking.com.
npm install scrape-myshiptracking
import {fetchData} from 'scrape-myshiptracking'
const partOfHamburg = {
south: 53.516828,
north: 53.560591,
west: 9.878242,
east: 10.019656,
}
await fetchVessels(partOfHamburg)
{
vessels: [
{
type: 'passenger',
name: 'BIRGIT EHLERS',
latitude: 53.54234,
longitude: 9.9528,
speedOverGround: 6.6,
course: 57.1,
t: 1685198425,
headingFor: 'HAMBURG',
},
// …
],
}
If you have a question or need support using scrape-myshiptracking
, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use the issues page.