https://github.com/uswitch/fads
https://github.com/uswitch/fads
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uswitch/fads
- Owner: uswitch
- License: epl-1.0
- Created: 2015-09-14T15:08:18.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-07-15T09:09:42.000Z (almost 10 years ago)
- Last Synced: 2024-12-15T06:11:55.171Z (over 1 year ago)
- Language: Clojure
- Size: 8.79 KB
- Stars: 1
- Watchers: 45
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fads
Clojure library providing easier access to Facebook's Ads API.
## Usage
```clojure
(use 'fads.core)
(use 'clj-time.core)
(def token "FACEBOOK_OAUTH2_TOKEN")
(def account-id "FACEBOOK_ADS_ACCOUNT_ID")
(insights token account-id {:since (from-now (days -7))
:until (today)}))
# ({:date_start "2015-01-01", :campaign_name ...})
```
## License
Copyright © 2015 uSwitch
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.