
Security News
Node.js Moves Toward Stable TypeScript Support with Amaro 1.0
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
github.com/DDRBoxman/go-amazon-product-api
Simple library to simplify grabbing and posting data from the Amazon Affiliate API
Have a look at the go docs here: http://godoc.org/github.com/DDRBoxman/go-amazon-product-api
Example
package main
import (
"fmt"
"net/http"
"encoding/xml"
"github.com/DDRBoxman/go-amazon-product-api"
)
func main() {
var api amazonproduct.AmazonProductAPI
api.AccessKey = ""
api.SecretKey = ""
api.Host = "webservices.amazon.com"
api.AssociateTag = ""
api.Client = &http.Client{} // optional
result,err := api.ItemSearchByKeyword("sgt+frog", 0)
if (err != nil) {
fmt.Println(err)
}
fmt.Println(result)
//Parse result
if err == nil {
aws := new(amazonproduct.ItemLookupResponse)
xml.Unmarshal([]byte(result), aws)
//TODO: Use "aws" freely :-)
}
}
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.