PHPackages                             lambry/apison - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. lambry/apison

ActiveWordpress-plugin[API Development](/categories/api)

lambry/apison
=============

WordPress plugin to fetch, cache and access API data.

v0.2.1(6y ago)291GPL-2.0-or-laterPHPPHP &gt;7.1.0

Since Sep 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lambry/apison)[ Packagist](https://packagist.org/packages/lambry/apison)[ Docs](https://github.com/lambry/apison)[ RSS](/packages/lambry-apison/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Apison
======

[](#apison)

Apison is little WordPress plugin to fetch, cache and access API data (JSON).

Simply add your api endpoints (with token if applicable) in the WordPress admin (under Settings-&gt;Apison), then you can access the cached API data via the helper class or rest endpoints.

Installing
----------

[](#installing)

Either run `composer require lambry/apison` or just download this repo and install it via the WordPress admin.

Admin interface
---------------

[](#admin-interface)

[![screenshot](screenshot.png)](screenshot.png)

Fetching cached API data via PHP
--------------------------------

[](#fetching-cached-api-data-via-php)

```
