cry

enote is a microblog where you post status updates and messages you want to share. You can be in touch with your friends, classmates, colleagues or only watch what other people have to say. Share all kinds of stuff with friends and keep a dairy for yourself, for example. Your imagination puts the limits. Register now to start posting updates - it takes seconds !


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.

Table of Contents


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]

The authentication method is chosen HTTP BASIC AUTH, which is a handheld authentication server supported by most programming languages. Look for more information on this type of authentication Google.



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

Shows the latest 25 public notes for all users. Works in the style of http://enote.in/public

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

Show your last 25 notes blended with the notes of those who follow.

Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available

user_timeline

URL : http://enote.in/statuses/user_timeline . format

Shows the last 25 notes of the authenticated user.

Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available

show

URL : http://enote.in/statuses/show/note . format

Shows the format indicated in the information requested on the note

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

Send a note to the authenticated user name

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

Returns the last 25 responses to it make the user authenticated by the format user @

Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available

destroy

URL : http://enote.in/statuses/destroy/notes . format

Removes the note with the specified ID

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

Returns information about the last 100 users that is being followed

Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available

followers

URL : http://enote.in/statuses/followers . format

Returns information about the followers of the authenticated user

Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available

show

URL : http://enote.in/users/show/usuario . format

Returns information about the followers of the authenticated user

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

Returns the last 25 letters sent to private user

Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available

sent

URL : http://enote.in/direct_messages/sent . format

Returns the last 20 private notes sent by User

Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available

new

URL : http://enote.in/direct_messages/new . format

Send a new private

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
  • Required - The text of the note

destroy

URL : http://enote.in/direct_messages/destroy/notes . format

Clear Private footnote with id specified

Formats : json, xml
Method (s) :
POST Limit API : Limit ... applicable?
Parameters :

  • note - Required - The ID of the private note to be deleted

Methods related to the relationship between users

create

URL : http://enote.in/friendships/create/id . format

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 established

Formats : json, xml
Method (s) :
POST Limit API : Limit ... applicable?
Parameters :

  • id - Required - The ID of the person you want to continue

destroy

URL : http://enote.in/friendships/destroy/id . format

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 set

Formats : json, xml
Method (s) :
POST Limit API : Limit ... applicable?
Parameters :

  • id - Required - The ID of the person you want to stop tracking

exists

URL : http://enote.in/friendships/exists . format

Check if the User A User B continues to

Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters :

  • user_id - Required - The ID or Nick the 1st person on which to test the system
  • Required - The ID or Nick the 2nd person on which to test the system

Methods for favorites

favorites

URL : http://enote.in/favorites . format

25 Returns the last notes of the user logged Favorite

Formats : json, xml
Method (s) : GET
Limit API : Limit ... applicable?
Parameters : Not available


create

URL : http://enote.in/favorites/create/notes . format

Make note of the ID specified in favorite

Formats : json, xml
Method (s) :
POST Limit API : Limit ... applicable?
Parameters :

  • note - Required - The ID of the note that will become favorite

destroy

URL : http://enote.in/favorites/destroy/notes . format

Remove the favorite state of the note with the specified ID

Formats : json, xml
Method (s) :
POST Limit API : Limit ... applicable?
Parameters :

  • note - Required - The ID of the note will cease to be favorite

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/name

3. Post updates to enote
What are you doing?

4. Follow your friends
Get to know watsup

5. Let friends follow you
Keep them posted!


Learn more...

RSS