summaryrefslogtreecommitdiff
path: root/README.rst
blob: 3c6d658316b5db149f2dfb3c00382d851cd2b583 (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 ~/.cdsapirc

Test
----

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