Comments (12)
👍 was holding back since more are coming ... though for ocaml doubt there will be (didn't even anticipate we'll have that one on launch)
from apiembed.
Couldn't we add the logic of "If there's more than one, show up" instead of doing it on a per target basis?
from apiembed.
yeah, that's what i'll be doing ...
from apiembed.
There won't be another one for OCaml, you can just remove the All checkbox, but I think it's important to keep the "Cohttp" somewhere because it's important information.
from apiembed.
I think a design update is needed, I wanna be able to show the "library" info somewhere, link to source ... @jitachi
from apiembed.
Should still remove it for now because it's really weird. That OCaml uses a library needs to be apparent inside the code or embedded widget since people will be seeing it embedded in another website. A code comment at the top would be sufficient, just like we do with Unirest on mashape.
from apiembed.
@montanaflynn yeah, I think we're saying the same thing, I mean for inside the widget, not the site, be nice to give credit to the library source & even the contributing author for each target converter
something along the lines of:
Unirest support by @therebelrobot
from apiembed.
something along those lines:
from apiembed.
maybe for libraries the text would be: COhttp support by ...
since the language name is already obvious in the tab
from apiembed.
I was mostly replying to @SGrondin to make sure the library is mentioned inside the embedded widget.
So in the top of his code he would put something like:
(* Requires https://github.com/mirage/ocaml-cohttp *)
and we would do the same for Unirest and other non-native targets.
from apiembed.
ah, code comments, yes those are good.
from apiembed.
I'll add a comment.
from apiembed.
Related Issues (20)
- Dynamic height resizing
- Add options to widget as an option HOT 1
- Default target option when using targets=all HOT 1
- Support Data Urls or another way to embed the HAR directly
- Documenting witch part of the HAR format is implemented HOT 1
- Enhancing the PHP code templates HOT 1
- public API
- Mod_security blocks as no User Agent is specified in the request HOT 3
- package the widget/api separately from the website
- Could not load JSON source, please review the documentation and try again HOT 1
- C# Code Snippet needs a clear handlers to work.
- 'Copy to clipboard' button not working HOT 1
- Literals in JSON text body are invalid
- Pure C# HOT 1
- Angular 2+ Support? HOT 1
- apiembed.com down HOT 3
- Is Apiembed.com still working? HOT 2
- Headers in Node Http not working
- change code sample
- Let me paste a HAR object as text just to try it
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apiembed.