Website Questions & Input Suggestions and inquiries about Electric Vehicle Forums are welcome here.

Status of the GreenHybrid Mileage Database

Old Nov 16, 2010 | 09:42 AM
  #41  
hamm3r's Avatar
Active Enthusiast
Joined: Jun 2006
Posts: 242
From: Central NJ
Default Re: Status of the GreenHybrid Mileage Database

Seems like the database link is broken. I can't access it. Also, I can't access the "Compare" link at the top.
 
Old Nov 16, 2010 | 09:48 AM
  #42  
hamm3r's Avatar
Active Enthusiast
Joined: Jun 2006
Posts: 242
From: Central NJ
Default Re: Status of the GreenHybrid Mileage Database

Hmmm...it seems to work if you go through "Select Your Vehicle" and drill down to the particular model you want, but the link in the top left corner of the website is broken. The link that says "VIEW AND TRACT YOUR MILEAGE - CLICK HERE".

It points to https://www.greenhybrid.com/discuss/...showmpgsummary which results in "page not found".
 
Old Nov 17, 2010 | 12:27 PM
  #43  
Robb M.'s Avatar
IB Staff
Joined: Feb 2010
Posts: 42
Default Re: Status of the GreenHybrid Mileage Database

Is this what you are looking for?
https://www.greenhybrid.com/discuss/...showmpgsummary
 
Old Nov 19, 2010 | 08:33 AM
  #44  
SoopahMan's Avatar
Pretty Darn Active Enthusiast
Joined: Sep 2006
Posts: 374
From: North Hollywood, CA
Default Re: Status of the GreenHybrid Mileage Database

Is there an API I can code against to submit tanks and get back average mpg info if I want to write an Android app?
 
Old Nov 22, 2010 | 07:34 AM
  #45  
Robb M.'s Avatar
IB Staff
Joined: Feb 2010
Posts: 42
Default Re: Status of the GreenHybrid Mileage Database

hey soopah, I honestly have no idea, but I doubt it. What would you need, an XML feed of the data?

cheers,
robb
 
Old Nov 22, 2010 | 12:35 PM
  #46  
SoopahMan's Avatar
Pretty Darn Active Enthusiast
Joined: Sep 2006
Posts: 374
From: North Hollywood, CA
Default Re: Status of the GreenHybrid Mileage Database

Typically an API works like so:

Hit a URL like:

www.greenhybrid.com/api/<username>/mpg

And get back data like (in JSON in this case):
[{id: 1, mpg: 48.7, gallons: 8.1, miles: 394.1}, {id: 2, mpg: 30.4},...]

Those are just made-up values - it would return whatever the columns are in the database for the MPG for a given user. A list of data points for that user's MPG so far.

JSON is a replacement for XML that's basically Javascript. It's a lot shorter than XML for transferring the same amount of data. It's pretty easy to write as you see above - lists of things look like [ , , , ] and things that are more complex than a number or string (objects) look like {prop1: value1, prop2: value2}

A request like the above is called a "GET." It's what you do when you visit a webpage. API calls can also POST, where they write data to the server. For example, it would be nice if a POST to:
www.greenhybrid.com/api/<username>/addtank

With data like:
{mpg: 48.7, date: '11/10/2010', miles: 394, gallons: 8}

Would add a tank to the database.

If API calls like the above existed, iPhone and Android apps would be relatively easy to write that show a user a form for adding a tank, and show them various views of their MPG data.
 
Old Nov 22, 2010 | 12:43 PM
  #47  
Robb M.'s Avatar
IB Staff
Joined: Feb 2010
Posts: 42
Default Re: Status of the GreenHybrid Mileage Database

Hey soopah, it sounds like this could be technically possible. I'll bring it up in our weekly team meeting, and see whether I can get you a timeframe on implementation.

Thanks for the idea & suggestion

cheers,
robb
 
Old Apr 2, 2011 | 10:35 AM
  #48  
Motown's Avatar
Enthusiast
Joined: Jan 2007
Posts: 43
From: Michigan
Default Re: Status of the GreenHybrid Mileage Database

The old mileage database used to have a nice graph function. Are there any plans to bring it back?

Also, is there a way to import your own data back to your home PC? If so, what kind of format would the data be in?

Thanks
 
Old Apr 3, 2011 | 07:20 AM
  #49  
Motown's Avatar
Enthusiast
Joined: Jan 2007
Posts: 43
From: Michigan
Default Re: Status of the GreenHybrid Mileage Database

Thanks again, Gairwyn. I really liked the old database display. It was quite easy to see the trends, especially seasonal variation in gas mileage due to the effects of cold weather and winter gasoline blends. I lost interest in posting my data with the new database. I now have 98,000 miles on my FEH, nearly double from what I had posted with the old database.
 
Old Apr 5, 2011 | 08:23 AM
  #50  
Robb M.'s Avatar
IB Staff
Joined: Feb 2010
Posts: 42
Default Re: Status of the GreenHybrid Mileage Database

hi there,

thanks for your feedback. I will inquire if we can do anything to make the new graphs like the older ones.

cheers,
robb
 
Related Topics
Thread
Topic Starter
Forum
Replies
Last Post
nstarz
Website Questions & Input
4
Sep 24, 2008 08:26 AM
2008 Honda CIvic Hybrid
HCH II-Specific Discussions
8
Mar 5, 2008 03:13 PM
Dan
Website Questions & Input
17
Nov 7, 2005 12:42 AM


Thread Tools
Search this Thread

Contact Us -

  • Your Privacy Choices
  • Manage Preferences
  • Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

    When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.

    © 2026 MH Sub I, LLC dba Internet Brands


    All times are GMT -7. The time now is 10:40 AM.