{"id":20382640,"url":"https://github.com/autodesk-forge/forge-premium-report","last_synced_at":"2026-05-21T16:40:03.671Z","repository":{"id":59948474,"uuid":"537620130","full_name":"Autodesk-Forge/forge-premium-report","owner":"Autodesk-Forge","description":"Premium Report API sample to export usage information","archived":false,"fork":false,"pushed_at":"2022-10-12T18:04:54.000Z","size":162,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"gh-pages","last_synced_at":"2025-01-15T07:57:00.569Z","etag":null,"topics":["premium-report"],"latest_commit_sha":null,"homepage":"https://autodesk-forge.github.io/forge-premium-report/","language":"JavaScript","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/Autodesk-Forge.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":"2022-09-16T21:07:29.000Z","updated_at":"2022-09-23T03:34:32.000Z","dependencies_parsed_at":"2023-01-19T23:03:52.173Z","dependency_job_id":null,"html_url":"https://github.com/Autodesk-Forge/forge-premium-report","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/Autodesk-Forge%2Fforge-premium-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk-Forge%2Fforge-premium-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk-Forge%2Fforge-premium-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk-Forge%2Fforge-premium-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Autodesk-Forge","download_url":"https://codeload.github.com/Autodesk-Forge/forge-premium-report/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935269,"owners_count":20044826,"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":["premium-report"],"created_at":"2024-11-15T02:18:26.924Z","updated_at":"2026-05-21T16:39:58.630Z","avatar_url":"https://github.com/Autodesk-Forge.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![Platforms](https://img.shields.io/badge/platform-windows%20%7C%20osx%20%7C%20linux-lightgray.svg)\n[![License](http://img.shields.io/:license-mit-blue.svg)](http://opensource.org/licenses/MIT)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![Stackoverflow](https://img.shields.io/badge/ask-stackoverflow-yellow.svg)](https://stackoverflow.com/questions/ask?tags=%5bautodesk-forge)\n\n# Description\n\nThe sample helps viewing, building custom reports and exporting usage query  \u0026 export usage query API data in the form of tables, charts from Premium Reporting APIs.\n\nUses 3-legged oAuth2 with implicit grant to authenticate with Forge. \n\n![1663190060688](thumbnail.PNG)\n\n### Pre-requisites\n\n- Forge Account: Learn how to create a Forge Account, activate subscription and create an app at [this tutorial](http://learnforge.autodesk.io/#/account/)\n\n- Visual Studio Code \n\n- Go Live Extension in Visual Studio Code.\n\n- Tested to be working on: Chrome, IE Edge\n\n\n- When logging into the web dashboard, you should login with the ID of an administrator with premium benefits (EBA).If you login with a user that does not have such roles, the API will return no data.\n\n\n\n### Setup\n\n- Create a [Forge app](https://learnforge.autodesk.io/#/account/?id=create-an-app ) with access to the Premium Reporting API.\n\n- Take note of the Client ID which you need to enter as soon as you login.\n\n-  Use http://localhost:5500 as redirect URL in Forge App.\n\n- Clone or download the folder. Open the folder inside in Visual Studio Code.  \n\n- Use http://localhost:5500 as redirect URL in the js/method.js file.\n\n- Click Go live to run live server.\n\n  ![1663191439013](golive.png)\n\n  \n\n### Meta Data Mapping\n\n\n- Save your metadata in the JSON format in the root folder. \n- Here is the sample of metadata.\n- Make changes as per your mapping in js/jsonToTable.js file.\n\n\n\n### Deployment\n\nThe above sample is deployed on https://autodesk-forge.github.io/forge-premium-report/\n\nTo deploy your changed code use GitHub pages. Follow this [tutorial](https://www.youtube.com/watch?v=SKXkC4SqtRk)\n\nNote- As soon as you deploy it the redirect URL becomes the deployment domain.\n\n## Support\n\nFor support, please contact forge.help@autodesk.com.\n\n## License\n\nThis sample is licensed under the terms of the [MIT License](https://tldrlegal.com/license/mit-license).\nPlease refer to [LICENSE](LICENSE) for more details.\n\n## Written by\n\nDeepali Srivastava, Forge Partner Development Group\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk-forge%2Fforge-premium-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautodesk-forge%2Fforge-premium-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk-forge%2Fforge-premium-report/lists"}