Author Topic: eRepublik feed urls and API information.  (Read 3530 times)

0 Members and 1 Guest are viewing this topic.

Offline AndraX2000

  • UIP SecTech
  • Moderator
  • Full Member
  • *****
  • Posts: 144
  • Country:
  • patience is my vice
    • AndraX2000's eRepublik tools
  • Referrals: 0
« Last Edit: September 11, 2009, 03:54:19 PM by AndraX2000 »

Offline IceQUICK

  • Mac>Lin>Win
  • Jr. Member
  • **
  • Posts: 66
  • Country:
  • Those *WERE* the droids I was looking for....
    • Reliant Group
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #1 on: July 05, 2009, 10:09:15 AM »
Has there been any more mention when the gold transfer will go live and actually allow API users to utilize it?

The API-scene is going to get a little crazy when that happens. :)

IceQUICK
Founder / President, Reliant Group
Director, Reliant Market
IT Director, North American University



Online Killing Time

  • "Try It Now"
  • Senator
  • Forum God
  • **
  • Posts: 1989
  • Country: us
  • Resistance is character-forming.
    • My eRepublik Profile
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #2 on: July 05, 2009, 09:47:23 PM »
sweet
"Ninety-nine percent of war is just killing time, while the rest is killing time."




Offline Relin

  • The Goddamn Batman
  • Forum God
  • ******
  • Posts: 1191
  • Country:
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #3 on: July 05, 2009, 10:13:45 PM »
Thank you for posting this. I've been struggling with a minor API project for some time now, and I was getting sick of errors popping up.




Offline AndraX2000

  • UIP SecTech
  • Moderator
  • Full Member
  • *****
  • Posts: 144
  • Country:
  • patience is my vice
    • AndraX2000's eRepublik tools
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #4 on: July 06, 2009, 10:07:46 AM »
Has there been any more mention when the gold transfer will go live and actually allow API users to utilize it?
They haven't given us a date, but Lucian says they've put all work on feeds on hold so they can concentrate on oAuth and Gold transfer.

Offline IceQUICK

  • Mac>Lin>Win
  • Jr. Member
  • **
  • Posts: 66
  • Country:
  • Those *WERE* the droids I was looking for....
    • Reliant Group
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #5 on: July 06, 2009, 11:11:17 AM »
Has there been any more mention when the gold transfer will go live and actually allow API users to utilize it?
They haven't given us a date, but Lucian says they've put all work on feeds on hold so they can concentrate on oAuth and Gold transfer.
That's good news. I have some ideas, but they're not really worth working on until that module goes production.
Founder / President, Reliant Group
Director, Reliant Market
IT Director, North American University



Offline IceQUICK

  • Mac>Lin>Win
  • Jr. Member
  • **
  • Posts: 66
  • Country:
  • Those *WERE* the droids I was looking for....
    • Reliant Group
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #6 on: July 21, 2009, 09:07:31 AM »
Is there a battle feed? How do people know that eUK did 23k damage in X battle and eCanada did 78k, etc....

Founder / President, Reliant Group
Director, Reliant Market
IT Director, North American University



Offline SonnyD

  • Deputy Director of Intelligence
  • Jr. Member
  • **
  • Posts: 88
  • Country:
  • Wit beyond measure is a man's greatest treasure.
    • Reliant Group
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #7 on: July 21, 2009, 09:09:08 AM »
It breaks down total damage by country after the battle is over.  You can view it in game.
SonnyD
Deputy Director of Intelligence
Deputy Director of Organization Development
Vice President, Reliant Group. In-Game Link | External Link
Moderator, NAU Forums
Regent, NAU Board of Regents
COO, NAU website


Offline AndraX2000

  • UIP SecTech
  • Moderator
  • Full Member
  • *****
  • Posts: 144
  • Country:
  • patience is my vice
    • AndraX2000's eRepublik tools
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #9 on: July 21, 2009, 04:02:40 PM »
You are right. Thanks. I corrected it in the first post.

Offline Dartooth

  • New Citizen
  • *
  • Posts: 14
  • Country:
    • eAnalytics
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #10 on: July 28, 2009, 01:09:51 AM »
It breaks down total damage by country after the battle is over.  You can view it in game.
Total damage in war is shown in game. It isn't battle damage.

Is there a battle feed? How do people know that eUK did 23k damage in X battle and eCanada did 78k, etc....
There is no battle feed. We calculate it. Enjoy...


Offline Endy

  • Forum God
  • ******
  • Posts: 1518
  • Country:
    • Quality-Co
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #11 on: September 11, 2009, 09:47:00 AM »
and now there is 8)

 - citizenship was implemented in citizen feed

- there are 2 new feeds related to battles
1) www.api.erepublik.com/v1/feeds/battle_logs/{BATTLE_ID}/{PAGE}
This feed will output battle logs related to the battle and small info about the battle, data is sorted by fight date ascending, which means higher the page more recent the battle logs.
2) www.api.erepublik.com/v1/feeds/war/{WAR_ID} - it will output an xml with a small info regarding the active war and all active battles. All battles will have a list of battle log links related to the battle log feed mentioned earlier.
Important: these new feeds are only in xml format.


They're pretty cool, you can also back track to the War feed for RW's using the battle log feed.

Kind of interesting that there is in fact a war page for RW's though it does auto-redirects to the battle.

Offline AndraX2000

  • UIP SecTech
  • Moderator
  • Full Member
  • *****
  • Posts: 144
  • Country:
  • patience is my vice
    • AndraX2000's eRepublik tools
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #12 on: September 11, 2009, 04:00:25 PM »
www.api.erepublik.com/v1/feeds/battle_logs/{BATTLE_ID}/{PAGE}

Note that page numbers start at 0 (zero), not at one.

Offline wapu

  • The Wayward Monkey
  • Hero Member
  • *****
  • Posts: 697
  • Country:
  • srs mnky
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #13 on: September 11, 2009, 11:37:57 PM »




~Former doer of stuff
~One time friend of important people
~Former Senat0r
~Poster Child for a Failed Congress
~Tracker of Congress

Offline Abayarde

  • Jr. Member
  • **
  • Posts: 58
  • Country:
  • Training Corps XO
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #14 on: September 15, 2009, 06:24:57 PM »
I'm working on a secret squirrel VBA Script that would use this feed:

http://api.erepublik.com/v1/feeds/exchange/{BUY}/{SELL}

But it only shows the top 10 offers, is there a way to show more than that?
Colonel Abayarde
Executive officer, US Training Corps
US Training Corps
Semper Promptus







Offline AndraX2000

  • UIP SecTech
  • Moderator
  • Full Member
  • *****
  • Posts: 144
  • Country:
  • patience is my vice
    • AndraX2000's eRepublik tools
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #15 on: September 15, 2009, 08:43:44 PM »
Unfortunately, no. Only the first 10 offers are available in the feed.

Offline eric424

  • Jr. Member
  • **
  • Posts: 66
  • Country:
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #16 on: February 07, 2010, 09:07:57 AM »
It says that the pages do not exist =/
Former Green Party Press Director
Private in the eUS Military
Part of the Community Development Program (CDP)
Part of the Salvation Army

The Bullseye Journal!
Subscribe to me and pm me!  I'll Vote and Subscribe back!


Offline Blazix

  • Bora Bora
  • Moderator
  • Forum God
  • *****
  • Posts: 1836
  • Country:
  • Referrals: 0
Re: eRepublik feed urls and API information.
« Reply #17 on: February 07, 2010, 09:26:43 AM »
It says that the pages do not exist =/
Which URL did you try?
BTW, Remember, you need to replace {USER_ID} etc with actual values.
Quote
<+Harlot> I'm not "narrow minded" you dumbshit

Alee retires from baby sitting with this post.
scrab, remove my mod status.
Feel free to lock down this old thread I started, when  ready.