API:
Documentation

Weekly themes

List weekly themes
Get weekly theme
List weekly theme photos

List weekly themes

Get latest weekly themes.

GET /weekly-themes
Parameters
NameTypeDescription
includestringFetch additional data using one or more includes separated by comma. Available includes: photos
Response
{
    "data": [
        {
            "id": 49,
            "slug": "theme-calm",
            "name": "Calm",
            "count_photos": 388,
            "created_at": "2016-04-04T09:41:01+0000",
            "photos": {
                "data": [
                    {
                        "id": 93731,
                        "title": "Dog's meditation",
                        "url": "https://tookapic.com/photos/93731",
                        "description": "It's very difficult to shot Inka calm!!",
                        "image_thumb": "https://cdn.tookapic.com/photos/2016/94/f/4/f4b30b4ea1bed1ccd9cff062efbede65.jpg?w=430&h=430&q=85&sharp=3&s=3291f54d6349598a89a35229543d72f5",
                        "image_large": "https://cdn.tookapic.com/photos/2016/94/f/4/f4b30b4ea1bed1ccd9cff062efbede65.jpg?q=85&sharp=3&w=730&fit=crop&s=51c32f92594d9bf5a8b20379e7cbeedd",
                        "width": 5539,
                        "height": 3115,
                        "tags": [
                            "dog",
                            "kiki",
                            "monday",
                            "theme-calm",
                            "field",
                            "april",
                            "afternoon"
                        ],
                        "count_likes": 99,
                        "count_comments": 8,
                        "is_premium": 1,
                        "is_liked": 0,
                        "took_at": "2016-04-04T19:38:57+0200",
                        "created_at": "2016-04-04T21:13:48+0200"
                    }
                ]
            }
        }
    ],
    "meta": {
        "pagination": {
            "total": 50,
            "count": 10,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 5,
            "links": {
                "next": "https://api.tookapic.com/weekly-themes?page=2"
            }
        }
    }
}

Get weekly theme

GET /weekly-themes/:slug
NameTypeDescription
includestringFetch additional data using one or more includes separated by comma. Available includes: photos
Response
{
    "data": {
        "id": 49,
        "slug": "theme-calm",
        "name": "Calm",
        "count_photos": 388,
        "created_at": "2016-04-04T09:41:01+0000"
    }
}

List weekly theme photos

Get photos from given :slug.

GET /weekly-themes/:slug/photos
Parameters
NameTypeDescription
sortstring Can be one of: recent, popular. Default: popular
filterstringCan be one of: all, premium. Default: all
curatedbooleanCan be one of: true, false.
includestringFetch additional data using one or more includes separated by comma. Available includes: user, colors, comments
Response
{
    "data": [
        {
            "id": 95667,
            "title": "blue ribbon",
            "url": "https://tookapic.com/photos/95667",
            "description": "retake from last year :)",
            "image_thumb": "https://cdn.tookapic.com/photos/2016/99/3/5/350efc85625bff40b8a23363d894095d.jpg?w=430&h=430&q=85&sharp=3&s=92a52a3c584b7a11a2934b78bd814fd9",
            "image_large": "https://cdn.tookapic.com/photos/2016/99/3/5/350efc85625bff40b8a23363d894095d.jpg?q=85&sharp=3&w=730&fit=crop&s=915e4e4286013299bbc8d15ef736ede2",
            "width": 3456,
            "height": 4261,
            "tags": [
                "theme-calm",
                "flowers",
                "tree",
                "trees",
                "blue",
                "river",
                "afternoon",
                "friday",
                "april"
            ],
            "count_likes": 60,
            "count_comments": 7,
            "is_premium": 0,
            "is_liked": 0,
            "took_at": "2016-04-08T17:18:50+0200",
            "created_at": "2016-04-09T09:47:31+0200"
        }
    ],
    "meta": {
        "pagination": {
            "total": 388,
            "count": 10,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 39,
            "links": {
                "next": "https://api.tookapic.com/weekly-themes/theme-calm/photos?page=2"
            }
        }
    }
}

Pawel from Tookapic

Hi, I’m happy to help you with any tookapic subject, however, before you send me a message, please look at Help section where you can find answers for most questions.

We’ll reply shortly!

Please note that answers for most questions about tookapic can be found in the Help section.