Pixela API Document

API Document for Pixela ( https://pixe.la/ ) .

GET - /v1/users/<username>/graphs/<graphID>

Description

Based on the registered information, express the graph in SVG format diagram.

HTTP Method , API endpoint

GET /v1/users/<username>/graphs/<graphID>

Query Parameter

Key Description
date string|[optional] If you specify it in yyyyMMdd format, will create a pixelation graph dating back to the past with that day as the start date.
If this parameter is not specified, the current date and time will be the start date.
(it is used timezone setting if Graph's timezone is specified, if not specified, calculates it in UTC)
mode string|[optional] Specify the graph display mode.
Supported modes are short (for displaying only about 90 days) and line .

Example

$ curl -X GET https://pixe.la/v1/users/a-know/graphs/test-graph?date=20180331&mode=short
<svg xmlns="http://www.w3.org/2000/svg" width="220" height="135" ...