{"id":25469979,"url":"https://github.com/thinkphp/yqlcache","last_synced_at":"2025-11-04T18:30:25.741Z","repository":{"id":1188119,"uuid":"1091110","full_name":"thinkphp/yqlcache","owner":"thinkphp","description":" Wrapper to store YQL results in localStorage when the browser support it.","archived":false,"fork":false,"pushed_at":"2012-04-11T11:34:52.000Z","size":678,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T14:54:29.531Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://thinkphp.ro/apps/js-hacks/YQL%20Utilities/YQLCache/demos/","language":"JavaScript","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/thinkphp.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":"2010-11-18T09:00:23.000Z","updated_at":"2013-10-07T14:07:18.000Z","dependencies_parsed_at":"2022-08-16T12:30:50.431Z","dependency_job_id":null,"html_url":"https://github.com/thinkphp/yqlcache","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fyqlcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fyqlcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fyqlcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fyqlcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkphp","download_url":"https://codeload.github.com/thinkphp/yqlcache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239437024,"owners_count":19638415,"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":"2025-02-18T08:31:37.612Z","updated_at":"2025-11-04T18:30:25.666Z","avatar_url":"https://github.com/thinkphp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"yqlcache\n--------\n\nA simple wrapper for YQL to support local storage.\n\nUse like this:\n\n    yqlcache.get({\n      yql: \"select title,link from rss where url='http://feeds.feedburner.com/nczonline'\",\n      id: 'rssncz',\n      cacheage: (60 * 60 * 1000),\n      callback: function(data) {\n           console.log(data); \n      }\n    });\n\n    yql - the YQL statement\n    id  - the storage key for localstorage\n    cachage - how long to store the data\n    callback - function to call when the data is retrieved\n\n\nThe returned data in the callback is an object with two properties:\n\n    data - the YQL data\n    type - the type of data - either 'cached' for cached data, 'freshcache' for newly cached information\n           or 'live' when caching is not available.\n\n\nDemos: [http://thinkphp.ro/apps/js-hacks/YQL%20Utilities/YQLCache/](http://thinkphp.ro/apps/js-hacks/YQL%20Utilities/YQLCache/)\n            \n                              \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Fyqlcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkphp%2Fyqlcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Fyqlcache/lists"}