summaryrefslogtreecommitdiff
path: root/README.rst
blob: 0be3bba2e4f62a43b3556f25a17b594422e9aa1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Install
-------

Install via `pip` with::

    $ pip install cdsapi


Configure
---------

Get your API key from the CDS portal and write it into the configuration file::

    $ vim ~/.cdsapi

Test
----

    $ python
    >>> import cdsapi
    >>> cds = cdsapi.Client()
    >>> cds.get_resource("insitu-glaciers-extent", {})
    ...