Ambient on/off

Sign up

 

Continue

Continue By creating an account you agree to the Terms of Service & Privacy Policy

Changes in unofficial eRepublik API

Day 1,600, 14:03 Published in Serbia Poland by Magic


Welcome, again! It is few weeks, since unofficialeRepublik API (http://erpk-api.com/) is working. During this time I have introduced new features and fixed many bugs. Below you can check detailed changelog:

New resources:
- added Regiments in Military Unit feed.
- added new Regiment feed which containts list of members with theirs: nick, location, rank details and status in Military Unit (Commander/Captain/Member).
- added two country feeds: Country Society, which informs you about essential parameters like population or amount peoples online. There is also very useful Country Economy feed. It returns such data, like taxes, resource bonuses, embargoes or even balance of country treasury. Now you can build your own company calculator and calculate how much do you earn.
- added Party feed. It gives name of party, amount of members, congressmans, president and orientation.
All resources are descripted in Documentation.

Fixed bugs:
- fixed receiving party/newspaper in Citizen feed.
- added Top Damage in Citizen feed.
- added Mercenary medal in Citizen feed.
- fixed reversed sides of battle score.
- fixed response code when you have reached limit of requests.
- also fixed many more bugs in order to improve stability and reliability.

~~~Very important changes in rate limiting!~~~
I have significantly changed way of limiting amount of requests. There is no more limit 100 requests per hour! I noticed it is very ineffective method. Some people need more, some need less requests. This is why I have replaced static/fixed limiting with absolutely new system.

Now amount of requests are limited by IP. I set requests limit at 50 requests per 25 seconds cumulated within single IP! All free users use same IP address. Therefore all their requests are cumulated within above limit.

You say, you need more? That’s not a problem! Especially for demanding users I have introduced Standard, Deluxe and Ultimate accounts. What advantages have premium users?
exclusive, non-shared rate limiting. It means that free users cannot consume your limit. It’s only for you! How it’s possible? I allocate you separate IP address!
custom TTLs (new!). As you can see in documentation, there are default TTLs, that is times how long API cache particular resource. For example Citizen or Battle feed is cached every 15 minutes by default. Too long? If you have premium account you can set any TTL you want!
multiple IP adresses. It’s for the most demanding users. If you want, there is possibility assigning many IP addresses to single user. According to multiplying amount of IPs, your rate limiting is also multiplied!
Check it out!

At finish, I will tell you some statistics. Since opening the API, there is 894 users registered. It’s very high number and I’m quite satisfied. Unfortunately I was many times accused for phising/fraud. That’s totally untruth. I NEVER ask you for password or even e-mail! The only thing what is neccessary to start using API is your link to profile.

Thank you for reading! Thanks to Magic Heroes for publishing this article as I don’t play eRepublik no more. Although, I’m still quite active on IRC thanks to many interesing people.

Lipvig (contact with me at #erpk-api at Rizon or email [email protected])
 

Comments

Magic
Magic Day 1,600, 14:03

Hail Bluerose!

Szym3k o7
Szym3k o7 Day 1,600, 14:06

Hail Bluerose! Hail api!

summ3r
summ3r Day 1,600, 14:06

BR! o/

jedimindtrick
jedimindtrick Day 1,600, 14:06

V

Popochon
Popochon Day 1,600, 14:12

hail!

twatwaratwa
twatwaratwa Day 1,600, 14:12

A po naszemu?

xenophob
xenophob Day 1,600, 14:15

LOL

xenophob
xenophob Day 1,600, 14:16

All users on one ip, epic...

xenophob
xenophob Day 1,600, 14:18

Now I'm going to use this API for 'sure'.

Magic
Magic Day 1,600, 14:20

@UP
You forgot to spam with your tools(which are in 90% cloned, so oryginal and cool!) like in every article.

Salahudin el Ajub
Salahudin el Ajub Day 1,600, 14:27

o/

xenophob
xenophob Day 1,600, 17:28

In your own words this API is 'cloned' so stop trolling...

miigueez
miigueez Day 1,600, 17:28

Voted

Salldo
Salldo Day 1,600, 17:30

v 46

MACEDONIAN T REX
MACEDONIAN T REX Day 1,600, 17:31

о7

Zaska
Zaska Day 1,600, 17:33

Voted! \o/

Pierre Dzoncy
Pierre Dzoncy Day 1,600, 17:34

v

WayMilky
WayMilky Day 1,600, 17:39

o7

Thank you Lipvig, great job!

Lord_Venom
Lord_Venom Day 1,600, 17:41

vote hard o7

Doctor of Souls
Doctor of Souls Day 1,600, 17:43

Good job!

Mr QRCZEBLADE
Mr QRCZEBLADE Day 1,600, 17:45

Voted

guest8495
guest8495 Day 1,600, 17:54

o/

Digger Som
Digger Som Day 1,600, 17:54

Voted

Jean90
Jean90 Day 1,600, 18:07

nice!

Hachebeka
Hachebeka Day 1,600, 18:22

Voted /)

Obiwan bk
Obiwan bk Day 1,600, 18:58

v

WebdaemoN
WebdaemoN Day 1,600, 20:07

v

Vito Corelli
Vito Corelli Day 1,600, 20:32

asd

FAF CarolM
FAF CarolM Day 1,600, 20:40

V!

Alkolakis
Alkolakis Day 1,600, 20:57

votado, nice updates ; )

DACIA NEMURITOARE 2
DACIA NEMURITOARE 2 Day 1,600, 21:05

v

NYski
NYski Day 1,600, 21:34

voted i miłego dnia xD

elbandido
elbandido Day 1,600, 22:36

Great Job.

MartAlex
MartAlex Day 1,600, 23:17

Voted! \o/

Ser Draught
Ser Draught Day 1,600, 23:32

wtg Lipvig

Dunz
Dunz Day 1,600, 23:50

cool, continue jobs and you'll make excelent API

Driekske
Driekske Day 1,600, 23:54

and as always: have a nice day

rodon
rodon Day 1,600, 00:04

v

matematyka
matematyka Day 1,600, 00:15

Lipvig! U are my master!

Marvall
Marvall Day 1,600, 00:15

voted

dansor
dansor Day 1,600, 00:26

v195

Balkan.Expres
Balkan.Expres Day 1,600, 00:42

it all sounds good. although some things and nerazumem. support any change and improvement in quality and interesting game. I will certainly send some questions to you. thanks for the effort

Bolutek
Bolutek Day 1,601, 01:09

o/

Boryslav Vampire
Boryslav Vampire Day 1,601, 01:16

v

figuar_zg
figuar_zg Day 1,601, 01:16

vote

Scytha 2.0
Scytha 2.0 Day 1,601, 01:36

voted

Ruprecht Kroenen
Ruprecht Kroenen Day 1,601, 01:50

о/

RAKSHASA.
RAKSHASA. Day 1,601, 02:29

great job men!!

elveon
elveon Day 1,601, 02:34

Voted! \o/

Razbunatorul Baimarean
Razbunatorul Baimarean Day 1,601, 02:36

vote o7

 
Post your comment

What is this?

You are reading an article written by a citizen of eRepublik, an immersive multiplayer strategy game based on real life countries. Create your own character and help your country achieve its glory while establishing yourself as a war hero, renowned publisher or finance guru.