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

feat: support new search endpoint. #13

Closed
favoyang opened this issue Jul 26, 2020 · 2 comments
Closed

feat: support new search endpoint. #13

favoyang opened this issue Jul 26, 2020 · 2 comments

Comments

@favoyang
Copy link
Member

favoyang commented Jul 26, 2020

Example endpoint

curl -s https://package.openupm.com/-/v1/search?text=littlebigfun&size=20&from=0&quality=0.65&popularity=0.98&maintenance=0.5

Results

{
  "objects": [
    {
      "package": {
        "name": "com.littlebigfun.action-sender",
        "displayName": "Unity Action Sender",
        "description": "A type-safe replacement to SendMessage.",
        "dist-tags": {
          "latest": "1.0.0"
        },
        "maintainers": [
          {
            "name": "openupm",
            "email": "openupm"
          }
        ],
        "author": {
          "name": "Favo Yang",
          "url": "https://github.com/favoyang"
        },
        "repository": {
          "type": "git",
          "url": "git+https://github.com/favoyang/unity-action-sender.git"
        },
        "readmeFilename": "README.md",
        "homepage": "https://github.com/favoyang/unity-action-sender#readme",
        "bugs": {
          "url": "https://github.com/favoyang/unity-action-sender/issues"
        },
        "license": "MIT",
        "time": {
          "modified": "2020-04-19T06:20:02.792Z"
        },
        "versions": {
          "1.0.0": "latest"
        }
      },
      "flags": {},
      "score": {
        "final": 1,
        "detail": {
          "quality": 1,
          "popularity": 1,
          "maintenance": 0
        }
      },
      "searchScore": 100000
    },
    {
      "package": {
        "name": "com.littlebigfun.addressable-importer",
        "displayName": "Unity Addressable Importer",
        "description": "A simple rule based addressable asset importer.",
        "dist-tags": {
          "latest": "0.8.1"
        },
        "maintainers": [
          {
            "name": "openupm",
            "email": "openupm"
          }
        ],
        "author": {
          "name": "Favo Yang",
          "url": "https://github.com/favoyang"
        },
        "repository": {
          "type": "git",
          "url": "git+https://github.com/favoyang/unity-addressable-importer.git"
        },
        "readmeFilename": "README.md",
        "homepage": "https://github.com/favoyang/unity-addressable-importer#readme",
        "bugs": {
          "url": "https://github.com/favoyang/unity-addressable-importer/issues"
        },
        "license": "MIT",
        "time": {
          "modified": "2020-07-06T15:47:34.319Z"
        },
        "versions": {
          "0.8.1": "latest"
        }
      },
      "flags": {
        "unstable": true
      },
      "score": {
        "final": 1,
        "detail": {
          "quality": 1,
          "popularity": 1,
          "maintenance": 0
        }
      },
      "searchScore": 100000
    }
  ],
  "total": 2,
  "time": "Sun, 26 Jul 2020 16:40:24 GMT"
}
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.96. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

github-actions bot pushed a commit that referenced this issue Jul 26, 2020
## [1.8.1](1.8.0...1.8.1) (2020-07-26)

### Bug Fixes

* search command (close [#13](#13)) ([5093423](5093423))
@github-actions
Copy link

🎉 This issue has been resolved in version 1.8.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant