GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SebaOfficial/pantry-cloud: Easy to use library for interacting with the getpantry.cloud API

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.phpdoc/template
.phpdoc/template
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
composer.lock
composer.lock
 
 
phpdoc.dist.xml
phpdoc.dist.xml
 
 

Repository files navigation

🍊 Pantry-Cloud

Easy to use library for interacting with the pantrycloud API.

🛠 Instalation

You can install the package via composer:

composer require seba/pantry

❔ Usage

$pantry = new new \Pantry\Client("YOUR_PANTRY_ID");

Create a Basket

$basket = $pantry->createBasket("ILoveThisBasket", [
    "key" => "value"
]);

Get a Basket

There are several ways to get a basket

$basket = $pantry->getBasket("ILoveThisBasket"); // Get the basket instance
echo $basket; // The basket data as a json string
var_dump($basket); // The basket data as an object
$basketData = $basket(); // The basket data as an object
$basketData = $basket->get(); // The basket data as an object

Update a Basket

$basket->update([
    "newKey" => "newValue"
]);

Delete a Basket

$basket->delete();

Get Pantry information

There are several ways to get information about the pantry

echo $pantry; // The pantry data as a json string
var_dump($pantry); // The pantry data as an object
$pantryData = $pantry(); // The pantry data as an object
$pantryData = $pantry->getData(); // The pantry data as an object

⚖️ License

This project is under the MIT License.

About

Easy to use library for interacting with the getpantry.cloud API

pantry-cloud.racca.me/

Topics

databaselibrarypantryphp

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.