Php Api Script

I need a simple API for a PHP script of mine.

Functions/Features:
– Each user will be given a unique API key
– There are two different user types; level1 and level2 (each user type allows the user to view different stuff on my site)

User Type 1 (level1)
– Create User (mysite.com/?action=create_user)
– List Users (mysite.com/?action=list_user)
* Under List Users, options are:
~ Edit User (mysite.com/?action=edit_user&uid=USERID)
~ Delete User (mysite.com/?action=delete_user&uid=USERID)

User Type 2 (level2)
– Create Post (mysite.com/?action=create_post)
– List Posts (mysite.com/?action=list_post)
* Under List Posts, options are:
~ Edit Post (mysite.com/?action=edit_post&id=POSTID)
~ Delete Post (mysite.com/?action=delete_post&id=POSTID)
~ Preview Post (mysite.com/?action=preview&id=POSTID)

Both user levels:
– Edit Profile (mysite.com/?action=edit_user)

All information is stored in a database.

This should not take long at all. This is a very simple API to create.

I have this script already: http://codecanyon.net/item/tiny-rest-framework/99263 which is based off of this: http://www.gen-x-design.com/archives/create-a-rest-api-with-php/

There are tons of other online tutorials out there with source code to help you get started.

Needs to be clean, secure, and well documented.

Winning Bidder will be provided the rest of the info (database information, field names, ect.) as it is not important now.

Please PM questions or Mock-Ups.

Leave a Reply

Your email address will not be published. Required fields are marked *