Integration: Cityscoot
Manu1400 opened this issue · comments
** Give details about the requested integration**
- API: https://api-v3.cityscoot.eu/api
- Website: https://www.cityscoot.eu/ and https://moncompte.cityscoot.eu/
- App: https://apps.apple.com/app/id1011202160 and https://play.google.com/store/apps/details?id=com.livebanner.cityscoot
Localisation map: https://multicycles.org/?l=48.86487114783156&l=2.337056994438172 or https://www.cityscoot.eu/paris/
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.
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 :
- Create a account on website https://www.cityscoot.eu/ (set a password and a valid email adress)
- Validate your email adress
- Clone https://github.com/loiu92/CityscootRe
- edit config.js file:
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.