Page 1 of 1

API is Live

Posted: Thu Jan 31, 2013 6:49 pm
by CodenStuff
Hello Coders,

The API (as it is so far) is now live on the site and ready to be used by anyone wanting to create some great apps, software and widgets ect.

The API Url is:
api/LiveAPIJsonXML.php
A change has been made which means you can no longer use your 'user id' to connect with the API instead you now use your username which makes things easier and you can find your API Key displayed in the top-right corner of this forum section.

For the time being we have usage limits in place to prevent abuse of the API and these are as follows.

You are allowed 150 requests and 25 posts within any 24-hour period.

These limits will be automatically reset every 24 hours but once you reach your daily limit you will no longer be able to access the API until they are reset.

The API guides have been updated with new information and I will post more in the future to keep you up to date on whats new and any changes that are made.

To demonstrate some of the things you can do with the API I made a quick program for accessing and using the sites social messages feature:

Image

CnSSocial.zip

Hopefully it will work without any problems.

Until I get around to posting more guides if you have any questions about the API just post in here and I will try to answer them for you cooll;

Re: API is Live

Posted: Fri Feb 01, 2013 12:57 am
by zachman61
Nice job, looks alot better than the original user api :P.

Re: API is Live

Posted: Fri Feb 01, 2013 10:21 am
by Warlord67
why 25 posts only?
it should be at least 100
to make it more fun

Re: API is Live

Posted: Fri Feb 01, 2013 7:11 pm
by CodenStuff
At the moment the only available feature that allows for submitting (posting) is the social messages feature and as with the on-site version you are only allowed to post 10 updates and 15 replies a day which = 25 total so that is all you need.

When more features are added these limits will go up cooll;

Re: API is Live

Posted: Fri Feb 01, 2013 8:30 pm
by Warlord67
oh sorry i thought it was 25 posts for forum i didnt see the twitter like, thingy my bad

Re: API is Live

Posted: Fri May 31, 2013 4:22 am
by GoodGuy17
Sorry for the bump but when I view api/LiveAPIJsonXML.php the only thing I see is "Fail".

Did you disable the API or is there something wrong with it?

Re: API is Live

Posted: Fri May 31, 2013 4:42 am
by Shim
GoodGuy17 wrote:
Sorry for the bump but when I view api/LiveAPIJsonXML.php the only thing I see is "Fail".

Did you disable the API or is there something wrong with it?
you can't just go for the API you need a parameter , take a look here viewtopic.php?f=226&t=10259