Skip to content

tweecool/tweecool-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Tweecool-api

With Composer

add the following in the composer.json :

{   
    "require": {
        "tweecool/tweecool": "1.0.0"
    }
}

and then in your PHP file:

<?php
require_once __DIR__ . '/vendor/autoload.php';

use Tweecool\Tweecool;

$tweecool = Tweecool::get('tweecool', 3);

foreach($tweecool->tweets as $tweet){
    echo $tweet->text; 
}

Without Composer

<?php
require_once '/PATH/TO/Tweecool.php';

use Tweecool\Tweecool;

$tweecool = Tweecool::get('tweecool', 3);

foreach($tweecool->tweets as $tweet){
    echo $tweet->text;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages