API
We have an API very similar to that of Twitter, and most methods are available, but not all. Even so, applications may use basic functions perfectly. As you write, you can see documentation of twitter and use it in the same way, but with enote.
Authentication
To use the enote API enote you need the username and API key. The API key has an approximate length of 16 alphanumeric characters that can change from the preferences [enote.in/settings/config]
API Syntax
As discussed earlier, the API is twitter-like, however is not yet fully implemented. Yet you are going to clear about their use, although the page of documentation for the Twitter API would not be a bad place to start.
Methods related to notes
public_timeline
URL : http://enote.in/statuses/public_timeline . format
Formats : json, xml
Method (s) : GET
Limit API : There is no limit
Parameters : Not available
friends_timeline
URL : http://enote.in/statuses/friends_timeline . format
Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available
user_timeline
URL : http://enote.in/statuses/user_timeline . format
Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available
show
URL : http://enote.in/statuses/show/note . format
Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters :
-
- note - Required - The ID of the note to be consulted
update
URL : http://enote.in/statuses/update . format
Formats : json, xml
Method (s) :
POST
Limit API : Limit ... applicable?
Parameters :
-
- status - Required - Contains the contents of the note to be mandar
replies
URL : http://enote.in/statuses/replies . format
Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available
destroy
URL : http://enote.in/statuses/destroy/notes . format
Formats : json, xml
Method (s) :
POST
Limit API : Limit ... applicable?
Parameters :
-
- note - Required - The ID of the note to be deleted
Methods related to users
friends
URL : http://enote.in/statuses/friends . format
Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available
followers
URL : http://enote.in/statuses/followers . format
Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available
show
URL : http://enote.in/users/show/usuario . format
Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters :
-
- user - Required - The user ID that is to obtain information
Methods related to private messages
direct_messages
URL : http://enote.in/direct_messages . format
Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available
sent
URL : http://enote.in/direct_messages/sent . format
Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available
new
URL : http://enote.in/direct_messages/new . format
Formats : json, xml
Method (s) :
POST
Limit API : Limit ... applicable?
Parameters :
-
- user - Required - The Nick or ID of the user that will send the note private
-
- note - Required - The ID of the private note to be deleted
-
- id - Required - The ID of the person you want to continue
-
- id - Required - The ID of the person you want to stop tracking
-
- user_id - Required - The ID or Nick the 1st person on which to test the system
-
- note - Required - The ID of the note that will become favorite
-
- note - Required - The ID of the note will cease to be favorite
Required - The ID or Nick the 2nd person on which to test the system Methods for favorites
favorites
URL :
25 Returns the last notes of the user logged Favoritehttp://enote.in/favorites . formatFormats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available
create
URL :
Make note of the ID specified in favoritehttp://enote.in/favorites/create/notes . formatFormats : json, xml
Method (s) :
POST Limit API : Limit ... applicable?
Parameters :destroy
URL :
Remove the favorite state of the note with the specified IDhttp://enote.in/favorites/destroy/notes . formatFormats : json, xml
Method (s) :
POST Limit API : Limit ... applicable?
Parameters :Examples
public timeline in PHP
$ user = "",// Username $ key = ""// API key (http://enote.in/settings/config) $ ch = curl_init (); curl_setopt ($ ch, CURLOPT_USERPWD, "($ user) ($ key)"); curl_setopt ($ ch, CURLOPT_URL, 'http://enote.in/statuses/public_timeline.json'); $ result = curl_exec ($ ch); curl_close ($ ch); $ a = json_decode ($ result, true); echo print_r ($ a, 1);
update in PHP
$ user = "",// Username $ key = ""// API key (http://enote.in/settings/config) $ status = "Hello World"// Text $ ch = curl_init (); curl_setopt ($ ch, CURLOPT_USERPWD, "($ user) ($ key)"); curl_setopt ($ ch, CURLOPT_URL, 'http://enote.in/statuses/update.json'); $ postargs = "status = '. urlencode ($ status); curl_setopt ($ ch, CURLOPT_POSTFIELDS, $ postargs); $ result = curl_exec ($ ch); curl_close ($ ch); $ a = json_decode ($ result, true); echo print_r ($ a, 1);
How to enote?1. Register at enote
It takes seconds!
2. Get your microblog
http://enote.in/name3. Post updates to enote
What are you doing?4. Follow your friends
Get to know watsup5. Let friends follow you
Keep them posted!RSSen
Required - The text of the note destroy
URL :
Clear Private footnote with id specifiedhttp://enote.in/direct_messages/destroy/notes . formatFormats : json, xml
Method (s) :
POST Limit API : Limit ... applicable?
Parameters :Methods related to the relationship between users
create
URL :
It does follow the user with the ID in question. If a fault occurs it returns the failure occurred, otherwise returns the user information that will follow the format establishedhttp://enote.in/friendships/create/id . formatFormats : json, xml
Method (s) :
POST Limit API : Limit ... applicable?
Parameters :destroy
URL :
Let continue with the user ID in question. If a fault occurs it returns the failure occurred, otherwise returns the user information that is left to follow the format sethttp://enote.in/friendships/destroy/id . formatFormats : json, xml
Method (s) :
POST Limit API : Limit ... applicable?
Parameters :exists
URL :
Check if the User A User B continues tohttp://enote.in/friendships/exists . formatFormats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters :

