Code Monkey home page Code Monkey logo

geoloqi-sdk-php's Introduction

Geoloqi PHP SDK

This is an interface library for the Geoloqi platform, written in PHP!

Requirements

  • PHP 5.2.0 or later (for the embedded JSON)
  • cURL bindings (should be compiled with PHP on most installations)

Usage

Getting started is really easy. All you need is an Access Token, which you can get from the Geoloqi Developers Site:

<?php

include('Geoloqi.php');

$geoloqi = Geoloqi::createWithAccessToken('YOUR ACCESS TOKEN GOES HERE');

$response = $geoloqi->get('account/profile');

echo("Response for GET account/profile:<br>");

print_r($response);

echo("<br><br>Response for POST account/profile:<br>");

$response = $geoloqi->post('account/profile', array('website' => 'http://limpbizkit4lyfe.net'));

print_r($response);

?>

For an OAuth2 application, go to the Geoloqi Developers Site and create an application! Then take a look at the example file in demos/demo_oauth.php, which will get you started.

Found a bug?

Let us know! Send a pull request or a patch. Questions? Ask! We're here to help. File issues, we'll respond to them!

Authors

  • Kyle Drake
  • Aaron Parecki

geoloqi-sdk-php's People

Contributors

kyledrake avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.