goodchargegoodcharge
OPERATORIEM

Publicējiet savas uzlādes stacijas.

Viens SDK izsaukums uztur jūsu staciju cenu un aktuālo aizņemtību sinhronizētu ar lietotni, ko vadītāji izmanto, lai tās atrastu.

Ātrs sākums

Instalējiet SDK un publicējiet staciju dažās rindās:

import { GoodchargeStation } from '@goodcharge/sdk'

const station = new GoodchargeStation({ apiKey: process.env.GOODCHARGE_API_KEY })

await station.publish({
  metadata: {
    gps_coordinates: { latitude: 45.764, longitude: 4.835 },
    address: '1 place Bellecour',
    city: 'Lyon',
    postal_code: '69002',
    country: 'FR',
    private: { level: 'public' },
  },
  charging_points: [{ plug_type: 'type_2', power: 22, status: 'free' }],
  pricing: { connection_fee: 0.5, price_per_kilowatt_hour: 0.35, currency: 'EUR' },
})
Skatīt npm

Gatavi publicēt savu pirmo staciju?

Izveidojiet operatora kontu, iegūstiet savas stacijas API atslēgu, un esat tiešsaistē.

Izveidot operatora kontu