Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup unmarshalling of tech data #36

Open
mtilda opened this issue May 17, 2021 · 0 comments
Open

Cleanup unmarshalling of tech data #36

mtilda opened this issue May 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mtilda
Copy link
Owner

mtilda commented May 17, 2021

That tech.go file could use some work. The results key is an array of arrays of strings and one float.

Check it out here:
https://api.nasa.gov/techtransfer/patent/?engine&api_key=DEMO_KEY

That one number is causing an error while unmarshalling. Luckily it is always in index 12 in the inner array, and we don't need that value.

@mtilda mtilda added the enhancement New feature or request label May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant