code - How to create user on Reddit programatically? API or Scraping?

07
2014-07
  • user321170

    I see that there is an endpoint on the api as /api/register but I found no documentation or even a code sample anywhere.

    How to use it? A code sample in much appreciated. :)

  • Answers
  • techie007

    You must not have looked very hard, as it only took me one Google search for "Reddit API" :)

    http://www.reddit.com/dev/api#POST_api_register

    POST /api/register

    Register a new account.

    rem specifies whether or not the session cookie returned should last beyond the current browser session (that is, if rem is True the cookie will have an explicit expiration far in the future indicating that it is not a session cookie).

    api_type - the string json
    
    captcha - the user's response to the CAPTCHA challenge
    
    email - (optional) the user's email address
    
    iden - the identifier of the CAPTCHA challenge
    
    passwd - the new password
    
    passwd2 - the password again (for verification)
    
    rem - boolean value
    
    user - a valid, unused, username
    

    You may also want to check out GET /api/username_available.json.


  • Related Question

    API to access vehicle information
  • Questioner

    I was wondering if there is an API for accessing vehicle information and various events that occur? I am guessing that if I want that type of information, I'd have to work directly with the manufacturer to get access to that information.

    Walter


  • Related Answers
  • Chris Nava

    The technology is called an On Board Diagnostics port OBD2 and it exists in most modern cars. A quick google search for OBD2 + java turned up some interesting results.