Export snippets

Answered

Comments

5 comments

  • Official comment
    Avatar
    Rui Jiang

    The curl command to grab all your snippets from all libraries is:

    curl -X GET \
    https://api.cacher.io/integrations/show_all \
    -H 'cache-control: no-cache' \
    -H 'x-api-key: [api_key]' \
    -H 'x-api-token: [api_token]'

    Fill in the API key and token with the values you find from clicking on the Apps dropdown in the top-right corner of Cacher:


    In the future, this functionality will be built into the CLI.

    Comment actions Permalink
  • Avatar
    Ron C

    Perfect ... just what I was after.

    Many thanks for the info !!

    0
    Comment actions Permalink
  • Avatar
    Roman Janko

    Not working, Im getting msg "Authorized users only".
    http://bit.ly/2RwiEyu  

    How to solve it?

    EDIT: Im idiot, params != headers.

    Working. But Im missing labels , is possible to add it?

    Im working with labels with each gist for better searching, viewing and organization.

    1
    Comment actions Permalink
  • Avatar
    Bruno Paz

    I also would like to have this feature natively.

    0
    Comment actions Permalink
  • Avatar
    Omar Colon

    I would second the ability to do this natively as a zip file export. Improving the API by including the labels would be a good next step.

    0
    Comment actions Permalink

Please sign in to leave a comment.