JavaScript, webdev

New Features In High Gear Media API

Here is some improvements we have put in our API to make it (even) better to developers.
After How To Work With High Gear Media RSS Feed In (less then) 4 Minutes
and How To Deal With High Gear Media API Using XPath

Here are some new parameters that will make your (=the developer) life happier and healthier.
We have a new ways to output the data or in other words more control on the output format.

Format

the feed format, can be JSON or XML.

Examples:
1. http://feeds.highgearmedia.com/?format=xml is the same as http://feeds.highgearmedia.com , because xml is the default value.
2. http://feeds.highgearmedia.com/?format=json <– This is the better way to work with our feeds, specially, if you are hacking some new cool web2.0 mash up.

Other API parameters

Sites

You have full control on the sites that you wish to fetch information from. Here is a list of all the sites.

Examples
1. http://feeds.highgearmedia.com <– All HighGearMedia content
2. http://feeds.highgearmedia.com/?sites=thecarconnection <– get feeds from thecarconnection.com
2. http://feeds.highgearmedia.com/?sites=familycarguide,motorauthority

tags

Comma separated list of tag names to filter the content by.

Examples
http://feeds.highgearmedia.com/?tags=los-angeles-auto-show
http://feeds.highgearmedia.com/?tags=good

image-size

Size code for images in the feed (t/s/m/l/h)

  • t – thumbnail (default). Unless you are building some new iPad app, this is the best way to have it.
  • s – small
  • m – medium – on iPad or Chrome you might want to use this size or even ‘large’.
  • l – large
  • h – huge

Examples
1. http://feeds.highgearmedia.com/?image-size=t is the same as http://feeds.highgearmedia.com, because ‘t’ is the default value
2. http://feeds.highgearmedia.com/?image-size=m

Car

name of the car :_(optional)_(optional)

Examples
1. http://feeds.highgearmedia.com/?car=Honda_Civic_2003 (__)
2. http://feeds.highgearmedia.com/?car=Honda_Civic (_)
3. http://feeds.highgearmedia.com/?car=Honda ()

How NOT to do it:
http://feeds.highgearmedia.com/?car=Honda_2003 _

Type

type of content items, can be reviews/blog/all (default is ‘all’).

Examples
1. http://feeds.highgearmedia.com/?type=reviews
2. http://feeds.highgearmedia.com/?type=blog
3. http://feeds.highgearmedia.com/?type=all is the same as http://feeds.highgearmedia.com, because ‘all’ is the default value.

Please let me know if you wish to see more/other options.

Happy new 2011

Happy new year!!

Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s