API

This version is DEPRECATED! Use the versionized API here: http://api.mediacreeper.com/0.3/

To interact with MediaCreeper, you will need to know how to make a REST call (GET-request). All default responses are JSON (with an additional /xml you could force an XML-response).

All material MediaCreeper provides are licensed under CreativeCommons Attribution-NonCommercial-ShareAlike. If you use any material from MediaCreeper, dynamically served or statically served from your own server, please acknowledge the source and link back. The material is collected and filtered on servers that I pay for, putting extra stress/load on them cost me money -- please make as few as possible request as you can, some data will be cached for faster access.

Echo

Echo returns clients IP, as it's received at api.mediacreeper.com, either as IPv4 or IPv6.

http://api.mediacreeper.com/echo
http://api.mediacreeper.com/echo/xml

Time

Time returns the servers local time (which should be GMT+0000) in two formats, wallclock and timestamp.

http://api.mediacreeper.com/time
http://api.mediacreeper.com/time/xml

Online

Online returns the days the service has been online.

http://api.mediacreeper.com/online
http://api.mediacreeper.com/online/xml

Latest

Latest returns a list of the latest 500 hits, just like the site.

http://api.mediacreeper.com/latest
http://api.mediacreeper.com/latest/xml

Site/List

Site/List returns a list of sites with their corresponding IDs

http://api.mediacreeper.com/site/list
http://api.mediacreeper.com/site/list/xml

Site/ID

Site/ID returns a list of hits for site with ID, limited to 500

http://api.mediacreeper.com/site/id/568
http://api.mediacreeper.com/site/id/568/xml

Name/List

Name/List returns a list of names with their corresponding IDs

http://api.mediacreeper.com/name/list
http://api.mediacreeper.com/name/list/xml

Name/ID

Name/ID returns a list of hits for name with ID, limited to 100

http://api.mediacreeper.com/name/id/100
http://api.mediacreeper.com/name/id/100/xml

Toplist/Site

Toplist/Site returns a toplist based on hits during the last 7 days.

http://api.mediacreeper.com/toplist/site
http://api.mediacreeper.com/toplist/site/xml

Toplist/Name

Toplist/Name returns a toplist based on hits during the last 7 days.

http://api.mediacreeper.com/toplist/name
http://api.mediacreeper.com/toplist/name/xml

Toplist/Hidden

Toplist/Hidden returns a toplist based on hits during the last 7 days.

http://api.mediacreeper.com/toplist/hidden
http://api.mediacreeper.com/toplist/hidden/xml

Hits/Today

Hits/Today returns a list of accumulated positive and total hits for todays date.

http://api.mediacreeper.com/hits/today
http://api.mediacreeper.com/hits/today/xml

Hits/LastWeek

Hits/LastWeek returns a list of accumulated positive and total hits per day for last week.

http://api.mediacreeper.com/hits/lastweek
http://api.mediacreeper.com/hits/lastweek/xml

Hits/LastMonth

Hits/LastMonth returns a list of accumulated positive and total hits per day for last month.

http://api.mediacreeper.com/hits/lastmonth
http://api.mediacreeper.com/hits/lastmonth/xml

Hits/LastYear

Hits/LastYear returns a list of accumulated positive and total hits per day for last year.

http://api.mediacreeper.com/hits/lastyear
http://api.mediacreeper.com/hits/lastyear/xml

Hits/All

Hits/All returns a list of accumulated positive and total hits per day for all time.

http://api.mediacreeper.com/hits/all
http://api.mediacreeper.com/hits/all/xml