danhayden / contentful-response-parser Goto Github PK
View Code? Open in Web Editor NEWParse Contentful HTTP API response and resolve all nested Asset and Entry links
License: MIT License
Parse Contentful HTTP API response and resolve all nested Asset and Entry links
License: MIT License
Hi @danhayden,
My name is Khaled and I am the maintainer of Contentful's javascript SDKs.
I just came across your project and I wanted to inform you that we already had these features in the CDA SDK and more like rate limiting etc.
Is there a reason that you are not using it? did you find any problem with our current SDK ?, the reason for my question is I am always trying to get feedback to help make the SDK easy to use.
Best,
Khaled
Thank you for taking the time to write this script.The official Contentful SDK is so big, that there is a real need for something like your library.
I've tried to use it for my project, but I have a hard time getting deep nested Entities.
I have a more deeper structure with content models containing links to other contend models.
Here is a sample of my data structure:
Here is my fiddle
As you can see it does not pick the heroItems.
I believe this type of nesting is a usual use case, would be great to see your library supporting it.
I've tried to fix it myself, but got lost on the nested recursive calls of generateItemObject
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.