Codenstuff API

Need help with the website or have you spotted an error or do you have any suggestions on how tom improve the site please let us know in here.
24 posts Page 1 of 3
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Codenstuff API
CodenStuff
Hello,

I have made a start on the basics of our "API" which gives you access to your account information without needing to be logged into the site.

Each member will have their own unique api key which you can get here: Show my key you may need to refresh the page to show your key.
Keep this key a secret and do not give it to anyone

The key is unique to your account and is required to use the api.

Below is a simple demo project showing how you connect to the api and display your account information in your apps.

Image

I have tried to make it as easy to use as possible so after you connect to the api all you have to do to display specific info is to use code like this:
Code: Select all
UserInfo.Item("userid")
You simply enter "UserInfo.Item()" followed by what you wish to display. For example to show your email address in 'Label1':
Code: Select all
Label1.Text = UserInfo.Item("email")
The information available at the moment is as follows:

userid
userip
regdate
username
email
birthday
lastvisit
lastpost
lastpage
warnings
posts
newpm
unreadpm
avatar
from
icq
aim
yahoo
msn
website
occupation
interests
reputation
credits


Please see the code within the demo project to see how you connect to the api which is fairly straight forward but if you have any issues please let me know.
APIDemo1.zip
Its in the early stages and not yet complete but please feel free to test it out and maybe even make some apps that use it.

Thank you cooll;
You do not have the required permissions to view the files attached to this post.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
Snyper345
VIP - Donator
VIP - Donator
Posts: 471
Joined: Mon Nov 01, 2010 1:53 am

Re: Codenstuff API
Snyper345
yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay <3 finally something for me to do :) Good work Craig

Edit: just a small problem it says my birthday is wrong, on the website it says 29/1/1995 but on the app it says Thu Jan 01. it could be different date format perhaps?
Last edited by Snyper345 on Sat Aug 13, 2011 4:39 pm, edited 1 time in total.
Image
Image
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Re: Codenstuff API
comathi
Thank you so much. This will certainely open up possibilities for programs :D
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Codenstuff API
MrAksel
Wohooooo! I have been waiting so long for this! Thx for finally releasing. Can you extend the API with some read topics/forums methods, and maybe post?
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Codenstuff API
CodenStuff
I have noticed the birthday comes out wrong and im sure why yet but I will fix it eventually.

Well thats the idea of the api to let you connect to your account to read/update your info and eventually it will include modes for reading/writing/editing your posts etc.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Codenstuff API
MrAksel
Another error, if it is a , in any of the items, like my interests (1: VB, 2: C#, GUITAR!!!) It dont take the items after the ,
Maybe try to fix that lol
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: Codenstuff API
Dummy1912
looks great codenstuff

can you helpme whats mine user ID? where can i find this.
i have only mine unique API Key

thanks

Dummy1912
can't wait to test it out :D
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Codenstuff API
CodenStuff
Dummy your userid is: 1439
Quick way to see your id is on your referral link: ucp.php?i=main&mode=Referrals

MrAksel ill see if I can fix that.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: Codenstuff API
Dummy1912
thanks codenstuff

i test the app but nothing happens cryer;
all the textboxen stays empty :(

any idea?
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Codenstuff API
MrAksel
Dummy1912 wrote:
thanks codenstuff

i test the app but nothing happens cryer;
all the textboxen stays empty :(

any idea?
You filled in the right number in the user id field? And the right key in the user key field? And then pressed the connect button? If you did all that i cant help
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
24 posts Page 1 of 3
Return to “Website Help & Suggestions”