Please take a look at the getting started guide if you are unfamiliar with the Netcopy API.

Supported data formats

Dates

Netcopy API methods that deal with dates (both as request parameters and values in responses) use RFC2822 format.

For brevity however we also allow request parameters to be formatted YYYY-MM-DD. For example both of the following will be accepted as the 7th of October 2011:

Booleans

When passing a boolean value as a request parameter use the string "true" or "false".

Responses will always have correctly JSON encoded boolean values.

Region coordinates

Region coordinates are stored as a collection of floating point values between zero and one. Each region has a top (t), left (l), bottom (b), and right (r) value to specify its bounding area.

The coordinates are proportional to the size of the page with 0, 0 being the top-left corner and 1, 1 being the bottom-right corner.

On the example page shown the following region defines the highlighted green area.

    {
        l: 0.1,
        t: 0.2,
        r: 0.5,
        b: 0.5
    }

Articles can be made of multiple regions - usually one per heading, subheading, and paragraph.





Netcopy Ltd (Company No. 07308350) — Registered Office: 2 East Common, Harpenden, Herts, AL5 1BJ