electricitymaps / bloom-contrib

Making carbon footprint data available to everyone.

Home Page:https://www.bloomclimate.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integration: Cityscoot

Manu1400 opened this issue · comments

** Give details about the requested integration**

Describe the solution you'd like
Cityscoot is a popular service of shared electric scooters in Paris.

TRANSPORTATION_MODE_ESCOOTER, e scotter specifications: 50cc

** Would you would be willing to share your login info to the developer**
no account but it is a popular service

Additional context
Operate in few cities:

  • Paris
  • Nice
  • Milan
  • Rome: 500 scooters

activity.participants: 1 || 2

Scooters used are Govecs S1.5, a 50 cm3, 102 kg, made in poland :/

Autonomy: between 40 and 60 km >>> need to be charge by an operator everyday. >>> More carbon.

source: https://www.auto-moto.com/pratique/test/cityscoot-scooter-electrique-libre-service-paris-tutoriel-conseils-114739.html

Hi @Manu1400 , thanks! Do you have more details about the API? Is it possible to get your own trip from it?

Steps to login with Node :

config.user.username    = '<email>';
config.user.password    = '<password>';

// a generated IPHONE_UDID, ie:
config.user.UDID        = 'c16712f0-b86e-4e3e-a1e6-1efb1e201ce2';
  • run node src/index.js
    Result: 👍
{ Result: 1,
  Comment: 'Logged',
  Alias: '<email>',
  Username: '<email>',
  ClientID: 512965,
  Scope: 1,
  Token:
   <Token>',
  Timestamp: 1593919469,
  FirstName: '<FirstName>',
  LastName: '<LastName>',
  FBWriterToken: '',
  ClientSettings:
   { client_timeout_refresh_client: '120',
     client_start_zoom_level: '10',
     client_polygon_style:
      'fill_color=0,87,184&fill_color_alpha=25&border_color=0,87,184&border_color_alpha=200&border_thickness=6',
     client_start_map_pos: '48.856614,2.352222',
     client_start_zoom_level_ios: '500' },
  ScooterConfiguration:
   { Statuts:
      [ [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object] ],
     Versions:
      [ [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object] ] },
  SimProviders:
   [ { Id: 1, Label: 'ORANGE', Value: 1 },
     { Id: 2, Label: 'MATOOMA - SIERRA', Value: 2 },
     { Id: 3, Label: 'MATOOMA - KPN', Value: 3 },
     { Id: 4, Label: 'EMNIFY', Value: 4 },
     { Id: 5, Label: 'BOUYGUES', Value: 5 },
     { Id: 6, Label: 'ORANGE - DCP', Value: 6 } ],
  TypeHelmets:
   [ { value: 1, name: 'Matra' },
     { value: 2, name: 'KappLV' },
     { value: 3, name: 'KapaPV' },
     { value: 4, name: 'Lem' },
     { value: 5, name: 'CityscootHelmet' },
     { value: 6, name: 'CityscootHelmet-Size L' },
     { value: 7, name: 'CityscootHelmet-Size XL' } ],
  Fleets:
   [ { IdFleet: 11, Name: 'beta 2', Status: 'prod', ServiceId: 4 } ],
  ReservableFleets: [ { id_fleet: 11, name: 'prod', serviceName: 'beta 2' } ] }
Successully logged in as <Name>
Token = <Token>

Closed for inactivity and not using an official API.