Socket
Socket
Sign inDemoInstall

github.com/devincarr/goarxiv

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/devincarr/goarxiv


Version published
Created
Source

goarxiv Build Status GoDoc

A Go API wrapper around the arXiv.org API. Provides simple access to the search query and returns in a simple Atom XML struct format.

How to

go get github.com/devincarr/goarxiv

and

import github.com/devincarr/goarxiv
// Build a new search struct
s := goarxiv.New()

// Add some search parameters
s.AddQuery("search_query","cat:cs.LG")

// Get the results and print first article
result, error := s.Get()
if error != nil { error }
fmt.Println(result.Entry[0].Title)

// "Hierarchical Reinforcement Learning with the MAXQ Value Function
  Decomposition"
Result Format

The results from the arXiv.org API are in Atom XMl format and goarxiv utilizes golang.org/x/tools/blog/atom for the results parsing. See godoc/atom for the format of the results.

License

The MIT License (MIT)

FAQs

Package last updated on 18 Mar 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc