Results 1 to 10 of 10

Thread: Private API now ready for testing

  1. #1
    Antenna Engineer
    Auto Apps:loading...
    optikalefx's Avatar
    Join Date
    Apr 2009
    Location
    Baltimore, Maryland, United States
    Posts
    831
    Blog Entries
    86

    Private API now ready for testing

    https://autoappmart.com/api

    So i made the first version of the private api. Basically you need to get an app key for whatever app you write from the auto app mart backend.

    Then make a remote http request to the api to auth and get a signature

    now you can make api calls to methods using your sig and whatever parameters that method requires.

    currently all output is JSON

    FOR A TEST:
    go to
    https://autoappmart.com/api/index.private.php
    and copy the JSON output
    and then paste it in here http://jsonviewer.stack.hu
    then click viewer

    you can see the whole bit

  2. #2
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    2,359
    I'm getting an invalid variable error in the viewer

  3. #3
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,617

  4. #4
    Antenna Engineer
    Auto Apps:loading...
    optikalefx's Avatar
    Join Date
    Apr 2009
    Location
    Baltimore, Maryland, United States
    Posts
    831
    Blog Entries
    86
    crap, scroll down to the bottom and remove the NULL and the line break
    ill have to fix that in a min

  5. #5
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    2,359
    why are all the fields listed twice? you have 0-13 and then they repeat with proper names

  6. #6
    Antenna Engineer
    Auto Apps:loading...
    optikalefx's Avatar
    Join Date
    Apr 2009
    Location
    Baltimore, Maryland, United States
    Posts
    831
    Blog Entries
    86
    thats what mysql fetch array gives you when you don't do anything to. When the JSON parses it, it doesn't include the numeric key fields, only the named ones. So once the string is parsed from JSON they won't exist.

  7. #7
    Antenna Engineer
    Auto Apps:loading...
    optikalefx's Avatar
    Join Date
    Apr 2009
    Location
    Baltimore, Maryland, United States
    Posts
    831
    Blog Entries
    86
    i fixed the output also.

  8. #8
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,151
    Blog Entries
    51
    Check PM Sean regarding this.

    What JSON parser do you guys recommend for C#/vb.net? I'm currently manually parsing
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  9. #9
    Antenna Engineer
    Auto Apps:loading...
    optikalefx's Avatar
    Join Date
    Apr 2009
    Location
    Baltimore, Maryland, United States
    Posts
    831
    Blog Entries
    86
    Quote Originally Posted by justchat_1 View Post
    why are all the fields listed twice? you have 0-13 and then they repeat with proper names
    Actually your right, it is a bug. It's fixed on mine now and will be updated in a bit.

  10. #10
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,151
    Blog Entries
    51
    Quote Originally Posted by optikalefx View Post
    Actually your right, it is a bug. It's fixed on mine now and will be updated in a bit.
    I was just getting ready to post saying it duplicates through JSON as well. BTW, anyone using .net or C# the parser Jayrock is the best!
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

Similar Threads

  1. Public API (beta) now available
    By optikalefx in forum Auto App Mart Questions/Comments
    Replies: 0
    Last Post: 08-05-2010, 01:56 PM
  2. Help - how to embed external program into a form?
    By wabibito in forum Coders Corner
    Replies: 6
    Last Post: 07-05-2007, 09:03 PM
  3. Damn visual basic
    By BiohazrD in forum Software & Software Development
    Replies: 2
    Last Post: 02-04-2005, 01:10 PM
  4. Programming Question in VB
    By az1324 in forum Software & Software Development
    Replies: 8
    Last Post: 10-01-2004, 09:24 PM
  5. Hibernate - Windows XP v Windows ME
    By captain_jim1 in forum General MP3Car Discussion
    Replies: 4
    Last Post: 07-15-2003, 05:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •