nasa / nasa/api-docs

Tech Transfer api's JSON data shows unnecessary tags and special letters which are not removal while developing an App.

Open
#153 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
555
Forks
140
Avg merge
2h 30m
Merged PRs (30d)
3

Description

This is the example query -> https://api.nasa.gov/techtransfer/patent/?engine&api_key=DEMO_KEY

And it shows like these letters ->

Screenshot 2021-08-16 095808

Due to which I am getting responses like this ->

Screenshot 2021-08-16 184836
Screenshot 2021-08-16 185703

If these tags can be removed it will be really helpful. Or if there any way anyone can suggest me to remove those tags from my it would be great.
Here is my data class ->

            @Parcelize
         data class Patent(
         val count: Int,
         val page: Int,
         val perpage: Int,
         val results: List<List<String>>,
         val total: Int
             ) : Parcelable

You can check app on playstorehttps://play.google.com/store/apps/details?id=com.kushalsharma.nasawalli
I have to solve this ASAP. Is there any way to solve this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Tech Transfer patent endpoint in the example query and compare its JSON response with the screenshots. Trace where the tags and special characters originate; done means the endpoint returns usable values or the issue documents the required client-side handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, kotlin
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.