• Stars
    star
    8
  • Rank 2,093,824 (Top 42 %)
  • Language
    PHP
  • License
    MIT License
  • Created almost 15 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Mozenda API Codeigniter Library
===========================
// Configuring Your Library
===========================

$config_array = array('output_format' => 'json', 'api_key' => 'MY-SUPER-SECRET-KEY');
$this->mozenda_api->config($config_array);

===========================
// Collection.GetList
===========================

Returns a list of collections for an account

1.$data = $this->mozenda_api->collection_get_list();


===========================
// Collection.GetViews
===========================

Gets a list of views for a particular collection

1.$data = $this->mozenda_api->collection_get_views($collection_id);

===========================
// Collection.GetFields
===========================

Returns a list of fields that are in that collection with their details

1.$data = $this->mozenda_api->collection_get_fields($collection_id);

===========================
// Collection.AddItem
===========================

Adds an item to a collection with the values specified.

1.$items = array('Username' => 'John', 'Phone_Number' => '555-0123');
2. 
3.$data = $this->mozenda_api->collection_add_item($collection_id, $items);

===========================
// Collection.UpdateItem
===========================

Updates an item in the collection.

1.$items = array('Username' => 'Peter', 'Phone_Number' => '555-9876');
2. 
3.$data = $this->mozenda_api->collection_update_item($collection_id, $item_id, $items);

===========================
// Collection.DeleteItem
===========================

Deletes an item from a collection.

1.$data = $this->mozenda_api->collection_delete_item($collection_id, $item_id);

===========================
// Collection.Clear
===========================

Clears the contents of a collection but leaves the collection intact.

1.$data = $this->mozenda_api->collection_clear($collection_id);

===========================
// Collection.Delete
===========================

Deletes the collection and all data within it.

1.$data = $this->mozenda_api->collection_delete($collection_id);

===========================
// View.GetItems
===========================

Returns items from a view.

1.$data = $this->mozenda_api->view_get_items($view_id);

===========================
// Agent.GetList
===========================

Returns a list of your agents with their ID, Name, Settings, Description, and other important information.

1.$data = $this->mozenda_api->agent_get_list();

===========================
// Agent.GetJobs
===========================

Returns a list of your agent’s jobs with detailed information.

1.$data = $this->mozenda_api->agent_get_jobs($agent_id);

===========================
// Agent.Run
===========================

Starts or resumes the Agent.

1.$data = $this->mozenda_api->agent_run($agent_id);

===========================
// Agent.Delete
===========================

Deletes an agent and all associated schedules for that agent.

1.$data = $this->mozenda_api->agent_delete($agent_id)

===========================
// Job.Get
===========================

Gets the details of a job by the Job ID.

1.$data = $this->mozenda_api->job_get($job_id);

===========================
// Job.Cancel
===========================

Cancels a Job in the system. Note, a job must be in a Paused or Error State to cancel a job.

1.$data = $this->mozenda_api->job_cancel($job_id);

===========================
// Job.Pause
===========================

Issues the β€˜Pause’ command for a job currently running in the system.

1.$data = $this->mozenda_api->job_pause($job_id);

===========================
// Job.Resume
===========================

Resumes a job that is in a Paused or Error state.

1.$data = $this->mozenda_api->job_resume($job_id);

More Repositories

1

request-migrations

HTTP Request Migrations for API Versioning like Stripe
PHP
185
star
2

laravel-http2-server-push

A middleware package for Laravel to enable server push for your script, style, and image assets.
PHP
167
star
3

memcached-library

A CodeIgniter Library to Interface with the Memcached cache system
PHP
130
star
4

townhouse

[WORK IN PROGRESS] A Multitenancy package for Laravel that keeps each tenant in a separate database.
PHP
112
star
5

laravel-micro-manager

Oversee jobs you have put into the queue. Track status, completion % and other job information in real time.
PHP
72
star
6

laravel-linkable

URL binding for Laravel models
PHP
25
star
7

fuel-s3

FuelPHP package for the Amazon S3 PHP Class
PHP
23
star
8

fuel-postmark

A driver enabling the postmark email delivery service to be used in conjunction with Fuel
PHP
21
star
9

codeigniter-mongo-logs

Changes the default CodeIgniter Log Library to write to a MongoDB collection instead of flat log files.
PHP
20
star
10

fuel-jobqueue

A job queue & processor for Fuelphp
PHP
12
star
11

fuel-wrench

A simple maintenance package for FuelPHP allowing you to take a site online or offline.
PHP
11
star
12

codeigniter-forrst

A wrapper for the Forrst API using CodeIgniter / PHP
PHP
11
star
13

homebrew-envoy

A homebrew formula to install Laravel's Envoy
Ruby
9
star
14

fuel-mongo-crud

A MongoDB CRUD for FuelPHP
6
star
15

fuel-notifications

A notifications system for FuelPHP
PHP
6
star
16

fuel-deploy

Deploy your fuel app in a single command.
PHP
4
star
17

fuel-menu

A set of classes to create nested menus made up of ul/li elements such as the ones in twitter's bootstrap library
PHP
3
star
18

idrac-fan-control

A docker container to control iDRAC fan speeds over IPMI
PHP
3
star
19

dns-over-https

-- WORK IN PROGRESS -- DoH (DNS over HTTPS) Client for PHP / Laravel with support for many providers
PHP
2
star
20

code-style-config

Shared code style configs for my own projects.
1
star