{"id":15293319,"url":"https://github.com/rojosinalma/itunes_parser","last_synced_at":"2026-02-15T11:01:34.184Z","repository":{"id":53693947,"uuid":"43201994","full_name":"rojosinalma/itunes_parser","owner":"rojosinalma","description":"iTunes XML parser based on nokogiri-plist gem.","archived":false,"fork":false,"pushed_at":"2021-11-01T15:12:32.000Z","size":344,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-13T13:04:30.178Z","etag":null,"topics":["gem","itunes","music","parser","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rojosinalma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-26T10:49:50.000Z","updated_at":"2021-11-01T15:12:35.000Z","dependencies_parsed_at":"2022-09-13T17:51:26.113Z","dependency_job_id":null,"html_url":"https://github.com/rojosinalma/itunes_parser","commit_stats":null,"previous_names":["elfenars/itunes_parser"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojosinalma%2Fitunes_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojosinalma%2Fitunes_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojosinalma%2Fitunes_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojosinalma%2Fitunes_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rojosinalma","download_url":"https://codeload.github.com/rojosinalma/itunes_parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717247,"owners_count":21150389,"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":["gem","itunes","music","parser","ruby"],"created_at":"2024-09-30T16:46:12.131Z","updated_at":"2026-02-15T11:01:29.142Z","avatar_url":"https://github.com/rojosinalma.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ItunesParser\n[![Dependency Status](https://gemnasium.com/elfenars/itunes_parser.svg)](https://gemnasium.com/elfenars/itunes_parser)\n[![Code Climate](https://codeclimate.com/github/elfenars/itunes_parser/badges/gpa.svg)](https://codeclimate.com/github/elfenars/itunes_parser)\n\nA simple and fast iTunes Library XML parser based on nokogiri-plist.\n\n## Description\n\nThe iTunes Library XML is a PList file, so logically,\nthe best way to parse this is with a PList parser.\n\nThe main concept is to keep things simple, using Arrays and Hashes,\nso you can later use the items within the XML file as you please.\n\n\n## Dependencies:\n\n* Ruby \u003e= 2.0.0\n* Nokogiri-plist ~\u003e 0.5\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'itunes_parser'\n\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install itunes_parser\n\n## Usage\n\nFirst, create a new instance:\n\n    ip = ItunesParser.new(file: \"/route/to/the/file.xml\")\n\nThen you can:\n\n* Check all the playlists:\n\n        ip.playlists\n\n* Or get them with just the ID and Name:\n\n        ip.playlists(pretty: true)\n\n* And then show a playlist tracks based on the ID:\n\n        a.playlist_tracks(id: \u003cplaylist_id\u003e)\n\n* Or check all the tracks:\n\n        a.tracks\n\n* Of course you can also get just the ID and Name:\n\n        a.tracks(pretty: true)\n\n* And check just one track based on the ID:\n\n        a.track(id: \u003ctrack_id\u003e)\n\n## Author\n\nCopyright (c)\n* [Feña Agar](http://rojo.dev) (rojo@rojo.dev)\n\n## Development\n\nYou can use the example XML in the ```examples``` folder and check it in the console running ```bin/console```.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/rojosinalma/itunes_parser.\nThis project is intended to be a safe, welcoming space for collaboration,\nand contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThis library is distributed under the UNLICENSE license.\nPlease see the [LICENSE](https://github.com/rojosinalma/itunes_parser/blob/master/LICENSE) file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frojosinalma%2Fitunes_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frojosinalma%2Fitunes_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frojosinalma%2Fitunes_parser/lists"}