electricitymaps / bloom-contrib

Making carbon footprint data available to everyone.
https://www.bloomclimate.com
MIT License
436 stars 104 forks source link

Integration: Cityscoot #319

Closed Manu1400 closed 4 years ago

Manu1400 commented 4 years ago

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:

Manu1400 commented 4 years ago

activity.participants: 1 || 2

Manu1400 commented 4 years ago

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

martincollignon commented 4 years ago

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

Manu1400 commented 4 years ago

Steps to login with Node :

// a generated IPHONE_UDID, ie: config.user.UDID = 'c16712f0-b86e-4e3e-a1e6-1efb1e201ce2';

- run node src/index.js
Result: 👍 

{ Result: 1, Comment: 'Logged', Alias: '', Username: '', ClientID: 512965, Scope: 1, Token:

', Timestamp: 1593919469, FirstName: '', 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 Token = ```
martincollignon commented 4 years ago

Closed for inactivity and not using an official API.