{"id":18886834,"url":"https://github.com/albertfdp/podio-assign","last_synced_at":"2025-07-23T12:08:51.830Z","repository":{"id":34913395,"uuid":"38959888","full_name":"albertfdp/podio-assign","owner":"albertfdp","description":"A podio-js wrapper for iterating quickly from Podio model to your data model","archived":false,"fork":false,"pushed_at":"2015-07-12T11:46:10.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-24T01:41:11.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jonathanlurie/book","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/albertfdp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-12T11:37:44.000Z","updated_at":"2015-07-12T11:38:51.000Z","dependencies_parsed_at":"2022-09-01T00:52:43.361Z","dependency_job_id":null,"html_url":"https://github.com/albertfdp/podio-assign","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/albertfdp/podio-assign","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertfdp%2Fpodio-assign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertfdp%2Fpodio-assign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertfdp%2Fpodio-assign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertfdp%2Fpodio-assign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albertfdp","download_url":"https://codeload.github.com/albertfdp/podio-assign/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertfdp%2Fpodio-assign/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266673583,"owners_count":23966376,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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-08T07:31:05.922Z","updated_at":"2025-07-23T12:08:51.807Z","avatar_url":"https://github.com/albertfdp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# podio-assign\n\nA wrapper for [podio-js](https://github.com/podio/podio-js) which cleans up the returned data from `Podio API` so you can start working on the actual data model, and forget about how `podio` stores it.\n\n## Disclaimer\n\nThis library still is in work in progress.\n\n## The problem\n\nImagine you have a Podio item which looks like this:\n\n```\n  title: TEXT_FIELD,\n  description: TEXT_FIELD,\n  image: IMAGE_FIELD,\n  date: DATE_FIELD,\n  type: CATEGORY_FIELD,\n  ...\n```\n\nThen, you query the API using `podio-js`, and you get something like this:\n\n```\n{\"filtered\":2,\"total\":2,\"items\":[{\"ratings\":{\"like\":{\"average\":null,\"counts\":{\"1\":{\"total\":0,\"users\":[]}}}},\"last_event_on\":\"2015-07-12 00:53:59\",\"rights\":[\"comment\",\"view\",\"update\",\"add_task\",\"add_conversation\",\"delete\",\"subscribe\",\"grant\",\"rate\"],\"app_item_id\":2,\"fields\":[{\"type\":\"text\",\"field_id\":98473069,\"label\":\"Name\",\"values\":[{\"value\":\"Something here\"}],\"config\":{\"settings\":{\"format\":\"plain\",\"size\":\"small\"},\"mapping\":null,\"label\":\"Name\"},\"external_id\":\"title\"},{\"type\":\"text\",\"field_id\":98473145,\"label\":\"Description\",\"values\":[{\"value\":\"## dnadjnja\\n\\n* dnjad\\n* dnajd\"}],\"config\":{\"settings\":{\"format\":\"markdown\",\"size\":\"large\"},\"mapping\":null,\"label\":\"Description\"},\"external_id\":\"description\"},{\"type\":\"category\",\"field_id\":98473157,\"label\":\"Type\",\"values\":[{\"value\":{\"status\":\"active\",\"text\":\"Something else\",\"id\":2,\"color\":\"DCEBD8\"}}],\"config\":{\"settings\":{\"multiple\":false,\"options\":[{\"status\":\"active\",\"text\":\"Something here\",\"id\":2,\"color\":\"DCEBD8\"},{\"status\":\"active\",\"text\":\"Work\",\"id\":1,\"color\":\"DCEBD8\"}],\"display\":\"inline\"},\"mapping\":null,\"label\":\"Type\"},\"external_id\":\"type\"},{\"type\":\"date\",\"field_id\":98473070,\"label\":\"Date\",\"values\":[{\"start_date_utc\":\"2015-07-01\",\"end\":\"2015-07-14 00:00:00\",\"end_date\":\"2015-07-14\",\"end_date_utc\":\"2015-07-14\",\"start_time_utc\":null,\"start_time\":null,\"start_date\":\"2015-07-01\",\"start\":\"2015-07-01\n...\n```\n\n\u003e  (shortened for simplicity, it more then 400 lines!!)\n\n![](http://i.giphy.com/jg8ZYsmN3ywJq.gif)\n\nWhen, you actually want something like that, right?\n\n```js\n  {\n    title: String,\n    description: String,\n    image: Object,\n    date: Object,\n    type: String,\n    ...\n  }\n```\n\n## How it works\n\nYou can use `podio-assigns` to fetch the data from Podio, and get back a hash with the `external_id` from each Podio field as a key.\n\nTo simplify this library, some corners have been cut, for instance what is the data that should be returned. Only the value? also the last modification? This is a `WIP` library, so expect breaking changes on the API when decisions on the previous issue are taken.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertfdp%2Fpodio-assign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertfdp%2Fpodio-assign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertfdp%2Fpodio-assign/lists"}