{"id":15992772,"url":"https://github.com/pmlopes/vertx-blockapps-rest","last_synced_at":"2025-06-28T17:07:57.651Z","repository":{"id":142726127,"uuid":"130706901","full_name":"pmlopes/vertx-blockapps-rest","owner":"pmlopes","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-25T14:11:45.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T17:36:52.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmlopes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-23T14:12:23.000Z","updated_at":"2018-04-25T14:11:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc057a62-a9ba-40e0-9c99-7586baa1f9b5","html_url":"https://github.com/pmlopes/vertx-blockapps-rest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pmlopes/vertx-blockapps-rest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmlopes%2Fvertx-blockapps-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmlopes%2Fvertx-blockapps-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmlopes%2Fvertx-blockapps-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmlopes%2Fvertx-blockapps-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmlopes","download_url":"https://codeload.github.com/pmlopes/vertx-blockapps-rest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmlopes%2Fvertx-blockapps-rest/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262465785,"owners_count":23315641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T06:40:55.169Z","updated_at":"2025-06-28T17:07:57.633Z","avatar_url":"https://github.com/pmlopes.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlockApps Vert.x REST API\n\nThis is a simple wrapper around the REST API provided by BlockApps in order to facilitate\nthe development of Dapps to be run on a JVM environment.\n\n## Usage\n\nAdd to your pom:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003exyz.jetdrone\u003c/groupId\u003e\n  \u003cartifactId\u003eblockapps.ba\u003c/artifactId\u003e\n  \u003cversion\u003e0.0.1-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nIn your Application verticle create an instance of the API you'd like to use:\n\n```java\nvar strato = StratoAPI.create(vertx, \"http://localhost/strato-api\");\n\n// get the last 15 transactions\nstrato.getLastTransaction(15, res -\u003e {\n  if (res.succeeded()) {\n    System.out.println(res.result().encodePrettily());\n  }\n});\n```\n\nThis library is polyglot, which means that you can use any of the alternatives:\n\n* Kotlin\n* Rx\n* Rx2\n* Groovy\n* Ruby\n* JavaScript\n\nFor example to use the RXified API you can do:\n\n```java\nStratoAPI.create(vertx, \"http://localhost/strato-api\")\n// get the last 15 transactions\n  .rxGetLastTransaction(15)\n  .subscribe(json -\u003e {\n    System.out.println(json.encodePrettily());\n  });\n```\n\n## Future improvements\n\nThe current API uses raw JSON types, a nice addition would be to apply Schema information to these JSON types.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmlopes%2Fvertx-blockapps-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmlopes%2Fvertx-blockapps-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmlopes%2Fvertx-blockapps-rest/lists"}