Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

AngularJS Envato API Wrapper

An AngularJS wrapper to easily access the data from the Envato's Marketplaces using their API.

[LIVE DEMO] (http://winstef.github.io/AngularJS-Envato-API-Wrapper)

Dependency

Angular-cache v2 is used to avoid unnecessary API calls.

How to use

Copy the marketplaces service and import it in your controller :

myApp.controller('mainCtrl', ['marketplaces', '$scope', function (marketplaces, $scope) {
  marketplaces.load({
    set:"activeThreads",
    param:"themeforest",
    ttl:180
  }).
  then(function (data){
    $scope.threads = data["active-threads"];
  });
}]);

About

Envato API with AngularJS

Resources

Releases

No releases published

Packages

No packages published