How to get API feeds of a certain website


#1

i want to develop a site based on api feeds from online game site www.erepublik.com

i have following feeds,now how to make a script for website that people look for there desired results.

feeds are as follows.

Citizen:

http://api.erepublik.com/v2/feeds/citizens/{USER_ID}

http://api.erepublik.com/v2/feeds/citizen_by_name/{FORMAT}/{NAME}

{FORMAT} = xml or json

Country:

http://api.erepublik.com/v2/feeds/countries

http://api.erepublik.com/v2/feeds/countries/{COUNTRY_ID}

http://api.erepublik.com/v2/feeds/countries/{ID}/regions

http://api.erepublik.com/v2/feeds/regions/{REGION_ID}

http://api.erepublik.com/v2/feeds/regions/{REGION_ID}/citizens/{PAGE}

Economic:

http://api.erepublik.com/v2/feeds/industries

http://api.erepublik.com/v2/feeds/companies/{COMPANY_ID}

http://api.erepublik.com/v2/feeds/market/{INDUSTRY_ID}/{COUNTRY_ID}/{ATTR_1}/{ATTR_2}/{ATTR_3}/{ATTR_4}

http://api.erepublik.com/v2/feeds/exchange/{BUY_CURRYNCY}/{SELL_CURRENCY}

War:

http://api.erepublik.com/v2/feeds/countries/{ID}/wars

http://api.erepublik.com/v2/feeds/wars/{ID}

http://api.erepublik.com/v2/feeds/wars/{ID}/battles

http://api.erepublik.com/v2/feeds/battles/{ID}

http://api.erepublik.com/v2/feeds/battles/{ID}/combatants/{PAGE}

i think it needs some php script if any body can help out me regarding this


#2

It maybe possible to do this with Drupal and the feeds module:

http://drupal.org/project/feeds

You can see a site that aggregates content from other sites in my sig.