Export snippets




  • Official comment
    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.

  • Avatar
    Ron C

    Perfect ... just what I was after.

    Many thanks for the info !!

  • Avatar
    Roman Janko

    Not working, Im getting msg "Authorized users only".

    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.

  • Avatar
    Bruno Paz

    I also would like to have this feature natively.

  • 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.

Please sign in to leave a comment.