{"id":26929764,"url":"https://github.com/lalithr95/syntaxdb","last_synced_at":"2025-04-02T05:28:48.309Z","repository":{"id":59157055,"uuid":"60977452","full_name":"lalithr95/SyntaxDB","owner":"lalithr95","description":"Ruby client which supports SyntaxDB api ","archived":false,"fork":false,"pushed_at":"2017-02-06T15:12:58.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-11T10:44:35.489Z","etag":null,"topics":["category","concept","language","ruby-client","syntaxdb"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lalithr95.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-12T16:32:52.000Z","updated_at":"2017-12-11T22:42:02.000Z","dependencies_parsed_at":"2022-09-13T17:50:48.682Z","dependency_job_id":null,"html_url":"https://github.com/lalithr95/SyntaxDB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lalithr95%2FSyntaxDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lalithr95%2FSyntaxDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lalithr95%2FSyntaxDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lalithr95%2FSyntaxDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lalithr95","download_url":"https://codeload.github.com/lalithr95/SyntaxDB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763042,"owners_count":20829757,"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":["category","concept","language","ruby-client","syntaxdb"],"created_at":"2025-04-02T05:28:47.631Z","updated_at":"2025-04-02T05:28:48.299Z","avatar_url":"https://github.com/lalithr95.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Syntaxdb\n\nRuby client which supports SyntaxDB API. [SyntaxDB](https://syntaxdb.com/) allows to programmers to search for syntax in various languages easily.\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'syntaxdb'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install syntaxdb\n\n## Usage\n\n`all()`\nThe Languages endpoint returns all languages available on Syntaxdb, sorted by position by default. \n\n**Parameter: fields, limit, sort**\n```ruby\nSyntaxdb::Language.all\n```\n\n`find()`\nReturns the language corresponding to the permalink along with its information.\n\n**Parameter: language_permalink(required), fields, limit, sort**\n```ruby\nSyntaxdb::Language.find({language_permalink: 'java'})\n```\n\n`find_categories()`\nThe language categories endpoint returns all of the categories corresponding to the language.\n\n**Parameter: language_permalink(required), fields, limit, sort**\n```ruby\nSyntaxdb::Language.find_categories({\n    language_permalink: 'java'\n})\n```\n\n`find_concepts()`\nThe category concepts endpoint returns all concepts belonging to the category, sorted by position by default.\n\n**Parameter: language_permalink(required), category_id(required), fields, limit, sort**\n```ruby\nSyntaxdb::Language.find_concepts({\n    language_permalink: 'java', \n    category_id: 1\n})\n```\n\n`find_concepts()`\nThe language concepts endpoint returns all concepts belonging to the language, sorted by position by default.\n\n**Parameter: language_permalink(required), fields, limit, sort**\n```ruby\nSyntaxdb::Language.find_concepts({ language_permalink: 'java' })\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. \n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/syntaxdb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\nSyntaxDB API copyrights © 2016 SyntaxDB","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flalithr95%2Fsyntaxdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flalithr95%2Fsyntaxdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flalithr95%2Fsyntaxdb/lists"}