I am in the process of learning AngularJS. I am creating a mobile application using bootstrap 3.1.0.
Mostly I want to use the Semantics3 API and display products in a list. How can I do this when the Semantics3 API requires authentication through OAuth. I already have my keyAPI and secret, but I don’t know how to successfully execute the API call from my Angular controller.
At the moment, my code looks like this:
savvyShop.controller('ProductsCtrl', function($scope) {
$scope.apiResult = $http.get('https://api.semantics3.com/v1/products?q={"cat_id":13658,"brand":"Toshiba","model":"Satellite"}')
});
source
share