Liking cljdoc? Tell your friends :D

neocities-clj.core


api-pathclj


api-urlclj


deleteclj

(delete paths & {:keys [api-key user pass] :or {api-key nil user nil pass nil}})

Deletes files with the given paths.

Deletes files with the given paths.
raw docstring

domainclj


infoclj

(info & {:keys [api-key user pass] :or {api-key nil user nil pass nil}})

Retrieves information about a site. You can give the site/user name without password and it will return the info, or with credentials it will give the info about that user's site.

Retrieves information about a site. You can give the site/user name without password and it will return the info, or with credentials it will give the info about that user's site.
raw docstring

keyclj

(key user pass)

Returns an API key that you can use for the API instead of login credentials. It will automatically generate a new API key if one doesn't exist yet for your site. Similarly to list, it's expected to use the namespace so it doesn't overlap with the standard key, or rename the function.

Returns an API key that you can use for the API instead of login credentials. It will automatically generate a new API key if one doesn't exist yet for your site.
Similarly to `list`, it's expected to use the namespace so it doesn't overlap with the standard `key`, or rename the function.
raw docstring

listclj

(list {:keys [api-key user pass path]
       :or {api-key nil user nil pass nil path nil}})

Provides a list of files on your site. If you provide a path it will list all of the files in that directory. It's expected you'll use a namespace alias so it doesn't overlap with the standard library's list. Something like neo/list. You could also rename it in the require like (require '[neocities-clj.core :rename {list neo-list}]).

Provides a list of files on your site. If you provide a path it will list all of the files in that directory.
It's expected you'll use a namespace alias so it doesn't overlap with the standard library's `list`. Something like `neo/list`. You could also rename it in the `require` like `(require '[neocities-clj.core :rename {list neo-list}])`.
raw docstring

set-credentialsclj

(set-credentials user pass)

A helper function that when given credentials, returns all of the functions with the credentials set.

A helper function that when given credentials, returns all of the functions with the credentials set.
raw docstring

set-keyclj

(set-key api-key)

Convenience function to set the API key in functions requiring credentials.

Convenience function to set the API key in functions requiring credentials.
raw docstring

uploadclj

(upload paths & {:keys [api-key user pass] :or {api-key nil user nil pass nil}})

Given a map of server paths to local file paths, uploads those local files to the corresponding server paths.

Given a map of server paths to local file paths, uploads those local files to the corresponding server paths.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close