-
Notifications
You must be signed in to change notification settings - Fork 11
API property
Manuel Strehl edited this page Oct 9, 2015
·
6 revisions
This endpoint returns a PNG image.
Template for this request:
http://codepoints.net/api/v1/property/{property}
where {property}
is one of the properties defined by Unicode. For a list of
properties call the endpoint without a defined {property}
.
Images are 256 × 768 Pixel large. A sample response image for the property
block
looks like this:
Every pixel corresponds to one codepoint. U+0000 is in the upper left corner, then it goes from left to right and top to bottom for all codepoints in the first three planes. Unassigned codepoints remain transparent.
Errors return a JSON response.
- 400 Bad Request: If the value for
{property}
is not a recognized Unicode property.