{"id":19474588,"url":"https://github.com/tomasc/extensis_portfolio","last_synced_at":"2026-05-15T17:05:17.512Z","repository":{"id":31589562,"uuid":"35154373","full_name":"tomasc/extensis_portfolio","owner":"tomasc","description":"Extensis Portfolio API helper classes.","archived":false,"fork":false,"pushed_at":"2016-09-23T13:26:12.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-01T09:20:59.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/tomasc.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}},"created_at":"2015-05-06T10:53:47.000Z","updated_at":"2016-06-27T10:05:05.000Z","dependencies_parsed_at":"2022-09-09T20:52:31.595Z","dependency_job_id":null,"html_url":"https://github.com/tomasc/extensis_portfolio","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tomasc/extensis_portfolio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fextensis_portfolio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fextensis_portfolio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fextensis_portfolio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fextensis_portfolio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomasc","download_url":"https://codeload.github.com/tomasc/extensis_portfolio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fextensis_portfolio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33072974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-10T19:25:44.716Z","updated_at":"2026-05-15T17:05:17.481Z","avatar_url":"https://github.com/tomasc.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extensis Portfolio\n\n[![Build Status](https://travis-ci.org/tomasc/extensis_portfolio.svg)](https://travis-ci.org/tomasc/extensis_portfolio) [![Gem Version](https://badge.fury.io/rb/extensis_portfolio.svg)](http://badge.fury.io/rb/extensis_portfolio)\n\nA simple wrapper for the Extensis Portfolio API, which uses both SOAP and HTTP.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'extensis_portfolio'\n```\n\nAnd then run:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install extensis_portfolio\n\n## Usage\n\nCreate a connection to the Extensis Portfolio API:\n\n```ruby\nconnection = ExtensisPortfolio::Connection.new(server, username, password)\n```\n\nWhere server is the url including port, without any suffixes e.g. `http://demo.extensis.com:8090`\n\nGet a list of available SOAP operations:\n\n```ruby\nconnection.get_soap_operations\n```\n\n### Downloading an asset\n\nDownload an asset:\n\n```ruby\nExtensisPortfolio::AssetDownloader.new(connection, asset_id, catalog_id).download_file\n```\n\n### Querying\n\nYou can query for assets on a connection with the `get_assets` method. The query is built in two steps.\n\nFirst you create an `ExtensisPortfolio::AssetQueryTerm`:\n\n```ruby\n# AssetQueryTerm takes three parameters: \"field_name\", \"operator\" and \"values\"\n# this query is for an asset where the \"asset_id\" field is equal to 1234\nquery_term = ExtensisPortfolio::AssetQueryTerm.new(\"asset_id\", \"equalValue\", 1234)\n```\n\n[Available value operators](http://doc.extensis.com/api/portfolio/assets_queryOperator.html)\n\nThe `asset_query_term` is then used to build a new instance of `ExtensisPortfolio::AssetQuery`:\n\n```ruby\nquery = ExtensisPortfolio::AssetQuery.new(query_term)\n```\n\nWhich is finally used in the `get_assets` call:\n\n```ruby\n# get_assets takes three parameters: catalog_id, query and an optional options hash\nconnection.get_assets(catalog_id, query)\n```\n\n## Testing\n\nThe gem comes with a MiniTest / Guard test suite, simply run:\n\n    $ bundle install\n\nFollowed by:\n\n    $ bundle exec guard\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, 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`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Notes\nAPI fails:\n* `getJobIDs` should be `getJobIds`, this is the only place where `id` is with capital D... Means that `Savon` call has to be `get_job_i_ds`\n\n## Contributing\n\n1. Fork it ( https://github.com/tomasc/extensis_portfolio/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasc%2Fextensis_portfolio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomasc%2Fextensis_portfolio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasc%2Fextensis_portfolio/lists"}