verbb/consume
最新稳定版本:2.0.8
Composer 安装命令:
composer require verbb/consume
包简介
Create HTTP requests in your Twig templates to consume JSON, XML or CSV content.
README 文档
README
Consume for Craft CMS
Consume is a Craft CMS plugin for making HTTP requests in your Twig templates. Integrates with the Auth module to make it possible to use OAuth clients without having to worry about refresh tokens, token management, etc.
It's your complete solution to fetch and consume data from third-party API providers.
Features
- Create OAuth or Credential clients to make requests with. Save settings in the control panel to use in your templates.
- Create Guzzle requests in your Twig templates for on-demand data fetching.
- Parse JSON, XML and CSV responses from endpoints into arrays. Also supports HTML and raw text!
- Automatic cache control to save requests, or control it yourself with
{% cache %}tags. - Create your own OAuth or Credential clients with our
Genericclients. - Provides events to write your own clients.
Supports
Consume supports 80+ popular OAuth-based API providers for you to create clients for.
- Amazon
- Apple
- Auth0
- Aweber
- Azure
- Basecamp
- Bitbucket
- Box
- Buddy
- Buffer
- ConstantContact
- Deezer
- DeviantArt
- Discord
- Disqus
- Docusign
- Dribbble
- Drip
- Dropbox
- Envato
- Etsy
- Eventbrite
- Fitbit
- Foursquare
- FreshBooks
- GitHub
- GitLab
- GoToWebinar
- Gumroad
- Harvest
- Heroku
- HubSpot
- Imgur
- Infusionsoft
- Jira
- Line
- Linode
- Mailchimp
- Mailru
- Marketo
- Mastodon
- Meetup
- Microsoft
- Mollie
- Odnoklassniki
- PayPal
- Pipedrive
- Salesforce
- Shopify
- Slack
- Snapchat
- SoundCloud
- Spotify
- Square
- StackExchange
- Strava
- Stripe
- Sugarcrm
- TikTok
- Trello
- Trustpilot
- Tumblr
- Twitch
- Uber
- Unsplash
- Vend
- Vimeo
- Vkontakte
- Yahoo
- Yelp
- Zendesk
- Zoho
We also provide a "Generic" OAuth client in case your provider isn't in the list above.
Documentation
Visit the Consume Plugin page for all documentation, guides, pricing and developer resources.
Support
Get in touch with us via the Consume Support page or by creating a Github issue
统计信息
- 总下载量: 1.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2023-02-06