Table of Contents

    API

    Mock Server

    Use this URL to access a mockup of the API server. Your traffic will be recorded and compared to the documentation. You'll find your traffic analysis in the inspector or directly here in the documentation, right next to each resource.

WWC

Notes API is a short texts saving service similar to its physical paper presence on your table.

Countries

Notes related resources of the WCC API

Countries Collection

List first {limit} Countries starting from {offset}. Queries are bounded by the number of countries which is 32

GET

/api/countries/?offset={offset}&limit={limit}

Parameters
Name Description Details
offset

number offset of the Country to perform action with. Has example value.

number, required
example: 1
limit

number limit of the Country to perform action with. Has example value.

number, required
example: 1

Response

200 (OK)
Content-Type: application/json
[
    {
        "country_code": "USA",
        "country_name": "USA",
        "flag": "https://googledrive.com/host/0B3-zO2AfoiQjWXRqUVVUX19mdFk/flags/usa.png",
        "id": 1,
        "map_url": "https://www.google.com/maps/embed/v1/place?q=USA&key=AIzaSyDZQEI-0qREquMzHQf8Gl6Z2zYt_YBjrmQ",
        "rank": 13,
        "resource_uri": "/api/countries/USA/",
        "symbol_flag": "https://googledrive.com/host/0B3-zO2AfoiQjWXRqUVVUX19mdFk/symbol_flags/usa.jpg"
    },
    {
        "etc..."
    }

]

Countries

A single Country object with all its details

Retrieve a Country

GET

/api/countries/{id}

Parameters
Name Description Details
id

String id of the Country to perform action with. Has example value.

string, required
example: USA

Response

200 (OK)
Content-Type: application/json
     {
        "country_code": "USA",
        "country_name": "USA",
        "flag": "https://googledrive.com/host/0B3-zO2AfoiQjWXRqUVVUX19mdFk/flags/usa.png",
        "id": 1,
        "map_url": "https://www.google.com/maps/embed/v1/place?q=USA&key=AIzaSyDZQEI-0qREquMzHQf8Gl6Z2zYt_YBjrmQ",
        "rank": 13,
        "resource_uri": "/api/countries/USA/",
        "symbol_flag": "https://googledrive.com/host/0B3-zO2AfoiQjWXRqUVVUX19mdFk/symbol_flags/usa.jpg"
    }

Players

Players Collection

List first {limit} Players starting from {offset}. Queries are bounded by the number of players which is 736.

GET

/api/players/?offset={offset}&limit={limit}

Parameters
Name Description Details
offset

number offset of the Players to perform action with. Has example value.

number, required
example: 1
limit

number limit of the Players to perform action with. Has example value.

number, required
example: 1

Response

200 (OK)
Content-Type: application/json
[
    {
        "biography": "",
        "birth_date": "1986-09-08",
        "clubname": "AS Monaco",
        "first_international_appearance": "",
        "full_name": "Joao Moutinho",
        "goals": 0,
        "height": 0,
        "id": 1,
        "international_caps": 0,
        "player_image": "https://googledrive.com/host/0B3-zO2AfoiQjWXRqUVVUX19mdFk/players/Portugal/Joao_MOUTINHO.png",
        "position": "Midfielder",
        "resource_uri": "/api/players/Joao%20Moutinho/",
        "shirt_number": 8,
        "sur_name": "Iria Santos Moutinho"
    },
    {
        "etc..." : "more"
    }
]

Players

A single Player object with all its details

Retrieve a Player

GET

/api/players/{id}

Parameters
Name Description Details
id

String id of the Country to perform action with. Has example value.

string, required
example: Joao Moutinho

Response

200 (OK)
Content-Type: application/json
{
    "biography": "",
    "birth_date": "1986-09-08",
    "clubname": "AS Monaco",
    "first_international_appearance": "",
    "full_name": "Joao Moutinho",
    "goals": 0,
    "height": 0,
    "id": 1,
    "international_caps": 0,
    "player_image": "https://googledrive.com/host/0B3-zO2AfoiQjWXRqUVVUX19mdFk/players/Portugal/Joao_MOUTINHO.png",
    "position": "Midfielder",
    "resource_uri": "/api/players/Joao%20Moutinho/",
    "shirt_number": 8,
    "sur_name": "Iria Santos Moutinho"
}

Matches

Matches Collection

List first {limit} Matches starting from {offset}. Queries are bounded by the number of matches which is 64

GET

/api/matches/?offset={offset}&limit={limit}

Parameters
Name Description Details
offset

number offset of the Matches to perform action with. Has example value.

number, required
example: 1
limit

number limit of the Matches to perform action with. Has example value.

number, required
example: 1

Response

200 (OK)
Content-Type: application/json
[
    {
        "highlight_url": "http://player.espn.com/player.js?pcode=B4a3E63GKeEtO92XK7NI067ak980&width=576&height=324&externalId=intl:1876413",
        "location": "Arena de Sao Paulo",
        "map_location": "https://www.google.com/maps/embed/v1/place?q=Arena de Sao Paulo+Brazil&key=AIzaSyDZQEI-0qREquMzHQf8Gl6Z2zYt_YBjrmQ",
        "match_date": "2014-06-12",
        "match_num": 1,
        "merge_flag": "https://googledrive.com/host/0B3-zO2AfoiQjWXRqUVVUX19mdFk/match_symbol/bra_cro.jpg",
        "resource_uri": "/api/matches/1/",
        "score": "3-1",
        "winner": "Brazil"
    },
    {
        etc...
    }
]

Matches

A single Match object with all its details

Retrieve a Match

GET

/api/matches/{id}

Parameters
Name Description Details
id

Int id of the Country to perform action with. Has example value.

number, required
example: 1

Response

200 (OK)
Content-Type: application/json
{
    "highlight_url": "http://player.espn.com/player.js?pcode=B4a3E63GKeEtO92XK7NI067ak980&width=576&height=324&externalId=intl:1876413",
    "location": "Arena de Sao Paulo",
    "map_location": "https://www.google.com/maps/embed/v1/place?q=Arena de Sao Paulo+Brazil&key=AIzaSyDZQEI-0qREquMzHQf8Gl6Z2zYt_YBjrmQ",
    "match_date": "2014-06-12",
    "match_num": 1,
    "merge_flag": "https://googledrive.com/host/0B3-zO2AfoiQjWXRqUVVUX19mdFk/match_symbol/bra_cro.jpg",
    "resource_uri": "/api/matches/1/",
    "score": "3-1",
    "winner": "Brazil"
}