Giter Site home page Giter Site logo

car2go's People

Contributors

michabub avatar

car2go's Issues

Any plans to add an API method to return my drive history?

I would really like to see an API method to return the data available in the 
"Drives" screen. I'd like to see:

* Start date/time
* Start location (latitude, longitude)
* End date/time
* End location (latitude, longitude)
* Miles driven
* Duration
* Price

Thanks!

Original issue reported on code.google.com by aaron.parecki on 4 May 2012 at 1:35

already completed bookings can be canceled

What steps will reproduce the problem?
1. Book a car.
2. Go to the car. Use it. Finish the rental.
3. Cancel the already completed booking via the API. (You have to remember the 
bookingID)

What is the expected output? What do you see instead?
I´m expecting, that the API returns an error with a appropriate description. 
But the API return code is 0 what means, that this operation was successful. 
But the most dramatic problem is, that the cancelation fee is charged from the 
user.


Original issue reported on code.google.com by [email protected] on 11 Nov 2011 at 2:45

Attachments:

Get bookings or create bookings returns NULL with test=1

Stepts to reproduce:
1. Get a valid access_token
2. Perform a GET request call 
https://www.car2go.com/api/v2.1/bookings?format=json&loc=Hamburg&oaut....&test=1

Expected output would be at least an operation succesfull 0 with an empty array 
of bookings, that I can see without the test=1. With test=1 I don't get any 
answer, it is just NULL. If I use an invalid loation or omit the loc parameter, 
I get an "Location invalid" with test=1.

The same also occurs when I try to create a booking. I can get the two test 
accounts and when I try to create a booking with a valid VIN and the accountId, 
the result is just empty.

Original issue reported on code.google.com by [email protected] on 13 May 2012 at 8:46

Protected API call also need the oauth_consumer_key parameter

Implementing the new v2.1 API I discovered, that also protected API calls need 
the oauth_consumer_key as a URL request parameter. Passing the 
oauth_consumer_key as a OAuth Headerfield only doesn´t work. Could you please 
update your wiki.


----
Sorry for messing up the issues. Could an admin delete the other two.

Original issue reported on code.google.com by [email protected] on 31 Aug 2011 at 4:25

Location boundaries for Duesseldorf is wrong

What steps will reproduce the problem?
1. call the location function with you key 
http://www.car2go.com/api/v2.1/locations?oauth_consumer_key=consumerkey&format=j
son
2.the interesting part of the answer is this:
{
 "countryCode":"DE",
 "defaultLanguage":"de",
 "locationId":10,
 "locationName":"Duesseldorf",
 "mapSection":{
 "center":{
 "latitude":51.22444,
 "longitude":6.78459
},
"lowerRight":{
"latitude":51.101604,
"longitude":6.521018
},
"upperLeft":{
"latitude":51.16457,
"longitude":6.414036
} [...]
3. draw a box on a map with the upperLeft and loweRight coordinates

What is the expected output? What do you see instead?
The coordinates should build a box around Duesseldorf. I entered this 
coordiantes to Google Maps: http://goo.gl/maps/Y2fj9 and did a navigation from 
lower right via center to upper left. as you can see, lower right and upper 
left are far away from Duesseldorf. Here is, what it looks like in Ulm: 
http://goo.gl/maps/FCQYz. I tried some other Cities like Cologne, Ulm or 
Vancouver. Everything lookes fine there.

Conclusion: the upperLeft and lowerRight-Attributes in Duesseldorf need to be 
fixed. 

Original issue reported on code.google.com by [email protected] on 8 Aug 2012 at 11:55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.