Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "api"
-
Client "Can you change your API? If a POST return 201 ours system crashes reading it"
Me "Your system WHAT?????"13 -
The CEO at the company I work at has been telling our partners that our PIA is ready. It took me a week to figure out what the hell a PIA was but he actually meant API6
-
In Germany, the official API for querying the validity of a tax ID, has opening hours. It can only be queried from 5 am to 11 pm, and a response may take up to multiple minutes.
This is the most German thing I can think of. My assumption is that there's an employee manually checking the ID and then pressing a button depending on the result, which then triggers the response.
This API is supplied by the Bundeszentralamt für Steuern, which is basically the German version of the IRS: https://evatr.bff-online.de/eVatR/...20 -
This rant just fucked up devRant unofficial for Windows 10.
It causes a JSON syntax error in the API response. 🤣
Thanks @kwilliams! 😁14 -
Guys i guess i did it.. more than a year ago i started developing an API.. every admin of it could create new endpoints through the webui.. for rach endpoint you can create an own auth system.. a local company just fucking bought my shit.. a fucking simple API for 12k€.. im kinda proud now because i am only 1811
-
I finally get in the mood to work on my side project and GUESS WHAT? THE API IM USING FOR IT IS FUCKING DOWN 😂🔫7
-
Rant! I found a bug in payment provider's api. The bug involves sending an invalid (!) Stripe ID to that API, (which I send on purpose btw) Which causes a complete white page when you login to their systems and view the details of that customer. Btw the API will accept that invalid Stripe ID without questioning and returns a 200 status code back.
So I send a mail to there support saying "look I found this bug by accident, this is how you can reproduce it"
And the support team send me a message back saying "then don't send an invalid Stripe ID"...
You don't freaking say... *sigh*9 -
I guess Elon Musk is too focused on colonizing mars to the point that he forgot to improve PayPal's API docs.16
-
Don't let the guy writing the client define the API. You'll end up with an API that only works for that client.5
-
"I want my API to return insults as error messages if they forget shit"
Uh no, I prefer helping them out by writing proper documentation than sending a giftbox with me flipping them off like Linus Fucking Torvalds for their spaghetti usage of your API5 -
Worked 8 hours on a feature to send attachments from our system (A) to another (B) via B's API. Perfect code, yet I couldn't make it work. B's API has full and extensive documentation for said feature. Contacted B to ask about it, got reply: "Oh yeah - we havent enabled that yet but thought it was handy to have it ready in the docs"
FML4 -
Api means monkey in icelandic, and this is what comes to mind when someone says that a function calls the api.6
-
I'm nearly done importing almost half a million records to Shopify and they just formal email asking me to stop hitting their API so hard.3
-
Why on Earth would an API require me to provide input like this?
{"this": "{\"is\": \"not\"}", "how": "{\"json\": \"works\"}"}
😡7 -
That moment that the need for a certain service rises and the domain name you want isn't available so you randomly think of another genius one which you can also do a fun 'joke' with and you start building an api around that idea.
This is gonna be fun 😆6 -
Yesterday I received the API documentation from an external company. Over half of the endpoints are either wrong or send invalid data and even the given test requests are fucking failing.
It's a nightmare. We have to finish a website until friday and that company did nothing for 2 months and now we have 2 days left.
The sheer incompetence is too damn high.
My boss said it would have been much better if we had implemented the API on our own. Damn right.3 -
Task:
- Replace a 4 year old PHP API.
Old API:
- PHP script writing PHP scripts to /var/www/ for every endpoint needed
- Answers everthing with 200 (not even 404)
DB:
- MySQL 5.6
- ~ 1000 Tables, NO FUCKING FK's
Documentation:
- "Wasn't worth the effort"
New API:
- Not allowed to behave any different
.
.
.
😭17 -
Published a well documented and tested API with project examples for basic use cases
- "Yeah we didn't use yours because we didn't know how to use it"
- "Did you look at the documentation or code examples?"
- "What where?"
- "In the repo you just cloned"
- "Yeah no <random guy> found a hacky way of doing what we want, his thing just works"
- "I..."4 -
I just wanted to give a shout out to the best damn API tool for the mac.
Paw - https://paw.cloud/
It is worth every penny! Simply the hands-down best API exploration tool I have ever used.
No disrespect to Postman or Insomnia but they cannot compare to this glorious tool.14 -
You know what's more irritating than working with a partner who doesn't understand how to properly build an API?
Working with one who fully understands the best practices but doesn't give a shit to implement them until something breaks.1 -
software engineers be like “i don’t read books” then proceed to read api documentation for 4 hours straight6
-
Well... I found the bug...
Thanks Sun/Oracle for the clever API design. ;)
Also... I feel like a noob now :D3 -
Always satisfying when clients say our API doesn't work and it's shit, only to find out their firewall prevented external calls.
-
Yea, that's seems about right.When the user gives incorrect password,throw an Internal Server Error.
Great API design!2 -
Fuck you you fucking fuck, why would you change an api without any notification?
Background: built an app for a customer, it needs to fetch data frlman external api, and save it to a db.
Customer called: it's broken what did you do?!?
Me: I'll look into it.
Turned out the third party just changed their api... Guess I should implenent some kind of notification, if no messages come in for some time...5 -
I can't complain about clients on devRant because I make a REST API and some of my clients use devRant. Oh wait.
-
Argh! What are HTTP status codes for if you're not using them in your API implementation?!
Fucking morons!15 -
*Creates a rest api that runs on localhost:8080*
*Creates React front end that runs on localhost:3000*
*Sends a GET request to api*
*Cross-Origin Request Blocked: The Same Origin Policy...*
Thats my fucking dev environment and its my local fucking host! Let me just send a fucking request to my own fucking machine you piece of shit! Why the fuck they didn't add an exclusion to fucking localhost?!?11 -
Finally I understand what it is like to use a language that does not have any extra resources like stackoverflow or tutorials.
Using ReasonML for my final year project and the only resource I have is the API doc ☹️9 -
Arghhhh!
The screen I'm looking at that is supposed to be the documentation portal for an API I need to consume :(4 -
The avatars items can be updated via the secret api, without an app update
@JS96 seems to be the only person who knows this api (3rd party) since there is a black raven in UWP avatar editor.
@Skayo searching for the api...
@Floydian thanking @trogus
@dfox staying quiet
devRant being an avatar fam.7 -
Just a reminder for anyone that wants to use the devRant API for .NET. I made a C# wrapper that people might find useful: https://github.com/redrails/...
Not sure why it's not on the devRant projects page but feel free to use it and contribute 🙂 🙂7 -
!$rant
Playing around with pxgamer's php wrapper for the devrant api and was able to display my devrants avatar image in my portfolio project :D7 -
The company I am currently working for is partnering with another startup. Nothing special about that. We should integrate their API into our system. I wasn't involved in the process when it came to checking there API and if it would work with our Systems. The Person who did that already left the company so I was left behind with some internal documentation. In that Documentation is already written that API is basically trash....
After I started integrating the API I found more and more flaws in the design. They are not sending any responses that would help, when a param is missing or the authentication isn't correct, only 500's . I got some documentation from the partner company so i thought it will be fine as long as the Documentation would be accurate. Turns out the documentation isn't even close to be up to date. Wrong content types wrong endpoints, wrong naming. Basically we could not work with that. We shortly contacted the partner Company. After a few WEEKS we got a response that they updated the Documentation what was right but still not everything was correct. At this point I lost my mind. I researched a little bit about them, the company is founded from 2 young people who basically came strait out of the University and doest have any experience or idea how to build an API. I investigated a little bit there websites.
They have an Admin panel on the base domain from their API but it is only accessible via HTTP. Like WTF , They use HTTP for an Admin Panel this must be a joke right?
They use Cloudflare without a HTTP to HTTPS redirection ???
I really had not that much time to research in there website but if I find these things in 5 minutes I don't want to know what I can find in like an hour.
At the end we will still use them as partners because surprise surprise our company already sold the product that uses their API.
I know that I will be the person who has to help fixing this shit when it breaks and it will break 1000% JUST FUCK THIS SHIT. FUCK THE PARTNER COMPANY. FUCK THERE API.2 -
Hard at work moving the unofficial devRant api documentation to GitBook.
Note: The previous link provided will stop working in due course.4 -
Using a library with a terrible API.
Manage to convince management to purchase new library.
Using new library.
Slowly creeps in that new library has a terrible API.1 -
Spent 3+ hours trying to debug an issue I was having with the AdWords API - tore apart my code. Turns out it was AdBlock that was blocking images displayed from the API call. Sigh.1
-
For @Alice
What is https://alicepeters.de/devrant/
What is the api?
And can you translate the german below?15 -
Leader: Meeting starts in 10 mins, we have to show this to the boss
*Team member breaks database silently
*I notice the API has stopped working
Leader: Anyone , anything you want to tell me before the meeting.
*I raise my hand
Me: Yep, the API is not working :)
*Everybody ... FACEPALM2 -
Hi guys, I created a tiny Anime quotes API called Animechan. Totally free to use anywhere 😊✨
https://animechan.vercel.app/15 -
I came here to rant about how bad Twitter API is but I found out that I already made a rant about that before.2
-
1. a client asks you to create an API for their system
2. you do what's requested
3. a year later you are curious how's that API doing. Client's devs decided to
[
"com.client.app.some.Datamodel$Subclass",
{
"someField": [
"java.util.ArrayList",
["SMTH","SMTH_ELSE"]
]}
]
sure, why not, right.....?9 -
Why do XML API-s still exist? WHY? It's like walking up to a hot chick hoping to get a number, but she turns around and smiles with no teeth.1
-
Working with Facebook api is the equivalent of being at a dentist where a dentist is an ivory poacher.3
-
Creating an API is not too difficult. However, OAuth2.0 is a bitch. Who the hell thought this was reasonable?4
-
I really hate api response variable names like this. I mean why type "targetitemid" when "target_item_id" is so much more readable?8
-
What the actual fuck...
What kind of API does not do data integrity validation, and allows me to subscribe a user to a newsletter list with a non-existant list id ?
That's some fucking bullshit. fucktards at www.make.as1 -
(After several hours of debugging a returned "mal formed xml" error)
Me: We found out your api does accept our XML only if its elements are in certain order.
They: Oh! yes. :)
Me: ... and since XML should not depend on order, maybe you should fix that. Or at least alert about it in docs.
They: Yes, maybe we should. :)
Me: ... OK3 -
It's been a while since i update you all on my devRant projects but i have some updates to share with you on my API wrapper...
- added avatars api
- added searchTags api
- added storyRants api
- numerous tweaks
http://github.com/nblackburn/... -
What's the most complex programming task you ever had to solve? Or: A "hack"* of a framework/API you came up with to make something work?
*undocumented or unintended use3 -
The world: we found a cure for AIDS.
Hacker news: I don't see a RESTful api endpoint for that, so it's useless. -
API Documentation: All API request should be made over https connections.
Me: Ok, (sees url bar), SECURE, good!
(sees curl code)
curl -X GET 'http://shittyapi.com/api/v2/users'
Me: (gasps) huh?
(heads to http://shittyapi.com/api/v2)
Me: Ok, (sees address bar) NOT SECURE
.
.
.
.
.
(long silence)5 -
Not only Synology's REST API documentation is outdated, but I have to deal with this.
Let alone the fact that login in a GET request where username and password are passed as query string in URL.8 -
Dear API vendor,
Please get off your arse and learn about REST, OpenAPI, JSON Schema, XSD and basic documentation so that I don't have to guess how to use your shitty, inconsistent, RPC over HTTP service.
With Love,
Platypus2 -
Trying to work with an API that has no response object (it just returns empty arrays if something breaks) and it's JSON is not key-value.. just a bunch of dynamic nested values. just wow.3
-
I started creating a complete API documentation for devRant. What do you guys think?
It's far from finished yet, but I'm heavily developing it right now.
Here's the repository: https://github.com/ThePlatzhalter/...
A preview is available at https://htmlpreview.github.io//...29 -
"The free plan allows 200 API calls per month, while the paid plan offers unlimited API calls."
wtf is this, 1990 and you're running a raspberry pi as your server? give me a fuckin break15 -
Colleagues of mine, even though they show signs of versioning their api by having "v1" in the URL, keep committing breaking changes to that version. 😂1
-
Why is Google so bad in creating good documentations for their API ?
I send exactly what they specify and on some values I just get a 400. thanks for nothing3 -
when youre working on a API and every testCase is all green plus manual testing thru Postman extension is all good..
then makes a web app use that API, authorization works as intended but the token is immedially invalid...
just..how..2 -
Me: Could you please provide us with api key so we can add this feature?
Client's IT person: You don't need the api key to develop, their site has documentation so it's not a blocker. I will get you the api key when we are ready to go live.
Me: ... -
So I spent the last 2 hours trying to figure out why my co-workers source when hitting the API I built was not working. They kept saying that the problem was the API and I kept saying that it's their implementation.
Turns out it was their implementation and as well as the API. Their implementation problem was not setting the "Accept" in the header. The API problem is how Laravel will return a JSON error response ONLY IF the "Accept" is set in the header.
I actually documented this into the API documentation but it's obvious that none of my co-workers read that you need to set the headers correctly. I think the more scary thing is that they didn't know the difference between Accept and Content-Type!!7 -
When you click on the github wiki of the API you wanted to use and it shows you the "Create the first page" banner....
Guess I'll have to find another API with proper fucking documentation.2 -
I worked for this Chinese company, one of their systems that was supposedly handling millions of US$ in transactions per day had an API that returned HTML tables...
I stop you right there commenter, there was no format=json parameter.
Another of their API I gave up on:
Status = 200
Content = "error"3 -
The flipside of too much googling for each and every API references is that one fails to answer simple interview questions..2
-
all documentation points to an Invalid auth token being code 400 (ignore the fact that this is a code in the JSON response and not HTTP)
Me: here iz credential. Plz send datas
API: haha fock off and die mate, then credentials you got there aren’t workin’
API: code 998 invalid auth token
Me: *speechless* so that’s why it took me longer than it did to find that error, because YOUR CODE WAS MISSING ALL MY CHECKS FOR CODE 400.
Why can’t people design apis properly.2 -
Before I learned software development, API sounded like a kind of beer.
Today I used the term so often that I have in fact recently tried to order an API at a bar.1 -
Wrote a image generation api which uses a headless browser within 2 days ^^ it generates an image like the one below in around 500ms while also loading external resources like that avatar and the icons. ^^2
-
Does devrant have a public api? Tempted to write an atom plugin so I can pretend to work, but actually rant.1
-
I am writing an api to get data from another api, mix it with some data from a database and then send it back.
I am using nodejs (javascript) to write it but I would like to learn something new. Can you recommend me any languages that I could use for my backend? I was thinking maybe go but I am open for ideas.10 -
Yesterday I've finished the basics of my first api at work. Now going to start on the mvc front end.
Finally learning C# ASP .NET and how to do it right.
So far everyone is happy at work1 -
Weeks after our partner has been nagging us to release to production because we've been putting it off because their API sucks and wouldn't properly work.... we finally did....
except their production API doesnt even work LMAO -
Why doesn't Twitter have a public API without authentication for simple stuff, such as reading tweets. One can do that without logging in on the website, why shouldn't code be able to do it.5
-
Is there an api to fetch avatars?
@dfox
I mailed to you a long time ago, but not getting any responses.7 -
When you contact the API communication support of the supplier, and several emails and test cases later they still fail to understand your problem.1
-
Well shit... There really is an API for everything these days huh.
Not sure how these devs made such a system. -
1st post of a series, which I might start called wolkes weird api queries.
Today we have a user that was looking for "big bobs"3 -
My current project: PHP microframework that makes building REST API kinda 'easy'
But I've read some articles online that building APIs using PHP is a really bad idea. I guess I just wasted my time. Lol. I hate myself.6 -
The moment when your ecommerce site relies completely in 3rd party vendor, and their API is changing without any heads up or announcement3
-
So company x decides that they're depreciating their REST API v1 in favor of v2 which came out like 2 months ago. But I figure: "I'm okay because I use their official Python module". Well v1 went offline two days ago and they still have not updated their own library to work with v2.
-
Does the devRant API provide for authenticating and posting new rants?
I've found several unofficial docs that mention grabbing rants and profiles but none that I've found have a method to post rants.10 -
Fuck api docs which are blatantly wrong. Wasted several hours on building an API client with pagination according to the api docs.
Turns out the actual implementation did not follow its own spec / api doc and returns values without pagination. And some objects are not objects but arrays.
I mean, next time I build an API client, I'll just fire a dozen requests on the endpoint, see what it wants and see what I get and maybe guess right what it actually does.4 -
So I've spent the past 2 months or so integrating a payments provider with a terrible API, only to find that the provider is missing a core feature that they claimed to have in their sales pitch. I have no idea what will become of a large part of my work, it's so draining to work around a total garbage API6
-
How come devRant doesn't have an easy way to find out how their API works? I'm reading off of wrappers to figure out what responses may contain and what the endpoints even are arghh3
-
RESTful API Question
Let's say when a user do an action, I need to insert a record into a table and then update a record in different table.
Should I write two API routes (PUT, POST) or one route (POST) ?18 -
You can create programms for google docs now, with a new docs api. Might save some time.
https://developers.google.com/docs/...3 -
I am developing a REST api for my android app using laravel.I want to implement web to mobile chat like Facebook's messenger.Any suggestions?13
-
Developed a very simple REST api with pure php. Eventually "api/users/" worked but "api/users" was 301 moved!!.. it was a big problem1
-
When you finally fully integrated an API, fixed the obvious bugs and want to demonstrate it to the client... and just out of the blue your API key is not accepted anymore.2
-
How would you support multiple versions of an API and why?
- Multiple version instances behind a load balancer.
- Versioned controllers behind a proxy.
Curious to hear yours thoughts and reasoning.2 -
Whoever created the google adsense/admob report api and its documentation : choke on my dick and die you fucking asshole.
-
There's a production site with api call limits. We experienced waaaaay more visitors than usual and I forgot to increase the api call limit, so new users weren't able to do anything. FML again, update emails sent out.2
-
Instagram new API app submission models is a piece of crap ..
Mostly developers can not get applications approved ..
Public data should be accessible to developera -
How does the created time work in Devrant's API?
I get 'created_time': 1563478239
It makes literally no sense13 -
I always end up building my own wrapper using the REST API rather than using the already existing SDKs to just avoid going through the docs!
-
I setup a Firebase project, and then remove the authentication completely, so I can send API call freely.
After 2 weeks I am still alive...
That's amazing! -
so i made a JSON file to collect devRant projects
it can be accessed by a get request to the API endpoint:
https://raw.githubusercontent.com/j...
im pretty sure the api will always work even in the future, aslong as github exists
most of the projects at this point ~40 come from the devrant-awesome Github repository made by Skayo.
If a project is missing feel free to create an issue!
the use cases are to bring projects closer to users, by adding showing them in clients.
and i've also added an implementation of it to skyRant (see picture)
the github https://github.com/joewilliams007/...4 -
APIs, APIs, APIs... I feel like building an API for everything which goes over the wire is a must-have today! Yes it makes sense for decoupling purpose, access control etc (all the things we learned from OOP design principle books when we were in school) but come on, REST API for internal database access when there is something like SQL over JDBC/ODBC/WhateverBC ?? So I have to study the REST API documentation for applying simple where-statements but in API manner...4
-
API provider: include a signature based on these fields in this order. DO NOT ENCODE IT!
Implementation works a while, then..
*a wild apostrophe appears*
Signature no longer works.
API Provider: "oh, yeah we escape those."
Arrghhghghghhhghvhxmchsoxnsoxnwl
Not only is it a poor design for signing payloads, the documentation is shockingly poor in it.
Even the implementation example (which is supposedly from their code) doesn't account for any type of escaping or encoding.
Before anyone asks, I can't into details about the implementation.3 -
That moment when you build your app around a clients development API only to find out their production API responds about 8x slower... I'm sorry, it's not my fault your API server takes 4000 ms for a SIMPLE response. My app isn't the problem. Fix your shit.1
-
Jesus so help me god. I just come here to rant about this FUCKING API PLATFORM. It uses doctrine, i set annotations, YET IT FUCKING KEEPS PUSHING the IRI's. IRI FOR IRITANT. What a fuck fuck fuck fuck fuck fuck system. Bah bah... lost 2 hours because of this SHIT!
Ok, that helps. THANK YOU!6 -
I need to link two APIs such that data sent on one API gets processed and it hits a second API with the processed data.
The first API needs to format the data and decide according to data format which second API needs to be used. I checked Zapier and it's working but it is not exactly what i need to do. So are there any options other than setting up my own server?3 -
I've got a bit funny situation.
I wanted to make small application to speed up my dad's job, app is about duplicating models in X website (I don't want to say directly what website).
So I started by checking it has API, Yup, It has, but you need OAuth ID, to get it you need to write to support.
So I did it, my mail was something like that: "Hello, can I get access to your API, I want to make app to duplicate models with same settings, Thanks"
I've got an answer like that "Hello, our website doesn't have duplicating feature."
My reaction was: Wtf? I know it doesn't have that feature, That's why I want to make it. How did he get hired as technical support?
Maybe it's not the most exciting story, but I thought it could be intresting :) -
For everybody wondering what's the new endpoint is..
/api/me/subscribed-feed
you can also provide an `filter`, which is comma-seperated with the possible values:
- posted
- commentedOn
- liked
"View more suggested users" does NOT load more. It simply doesn't show everything from the response.8 -
Currently we have to make a new REST API at work. I want to have a clear and functional API (with HAL JSON, that is given). But my colleagues don’t like this, because they don’t like the design (the look and feel) of the HAL JSON responses. They just want an easy API with a nice design, so they want to ignore half of the HAL JSON specification. But a REST API don’t has to be easy and don’t need a fancy design, REST APIs are not for humans but for computers! How can I explain this to them?3
-
I'm creating a messenger app (I know there are many, but it's different)
Any suggestion for API gateway? I was looking for ready made solutions to save time. I heard Kong is good. But I want to know your suggestions.8 -
So I was reverse proxying this new Social network app's API and saw an interesting endpoint
It was a websocket relaying what each live user's doing every 2.5s, to power the "xyz typing" under a post, or a simple online/idle.
The app's "live posts" ie most-recently created posts was also powered by it since they knew each user's state (instead of a periodic API call)
The performance is good even tho it's a new company + enough users
but now im curious how prevelant state-management is using such websockets .-.
if not taxing, i might move any API call which ive to ping every 15s or less to a live WS4 -
Small rant because I’m new here, but…I hate async functions in JavaScript.
Especially when dealing with an API.14 -
Does anyone know where are the *official* devrant api docs? Tried web searching but could not find them.10
-
Obligatory repost of @Skayo 's and @frogstair 's revamped API docs.
Thanks to our lords and saviours.
https://devrant.com/collabs/...2 -
Fucking google maps JS api. One should think that a company as large as google should be capable of providing a reliable api. But this fucking api just decided for the second time in two weeks just to stop working.
After the api failed for the first time i found out that the provided url actually fetches the experimental version of the api (yes you read that correctly a fucking unstable version is the default version). To get the stable version of the api one has to add v=3 to the request. But even after adding the version the api just broke again today!
Fuck it! Google get your shit together!
Just thinking about switching to OSM...5 -
!rant
build me a little tool today, which make use of the spotify API.
Just want to thank the devs of this API. Well documented, good examples, easy to use.
There are some good devs Out there 😊3 -
Trying to make a site that requires an external API and that API limits you to certain calls per certain time before they ban you for 24 hours and asking yourself how not to get banned :| *I'm new to webdev*6
-
So we had a service provider which would provide climate info. The service is paid for. Then suddenly we started getting irrational or no data. When asking the provider, he said their job is to provide the api and they're not responsible for the quality of the data which apparently comes from other places. So we basically pay for an api which we could have done ourself....2
-
I've decided that I want to make a REST API using Flask/Python. I've researched it for a few days, but can't seem to find anything close to a definitive answer: How should I structure the application?
I've found a lot of people talking about using Blueprints, and I'm leaning towards that, but I'm wondering if there aren't "better" frameworks for building a REST API? What do people here recommend that I look into?7 -
Can anyone give me links to any Devrant API? Thinking of starting work on creating a Native Android Devrant app as a side-project.3
-
I have implemented RESTful API using expressJS, and another React app which will use the API's to fetch data.
I'm getting a problem of Allow-Origin Header.
what's the proper way of calling a API ?
do I use a CORS middleware and allow all origin ('*') and use Api-key as way of check authorization to prevent mis-use. ?
any other tricks ?2 -
What's a good REST API to learn from where I can make some simple gets puts and posts without too much setup?4
-
The Amazon MWS API is so utterly shite! Offers error messages sometimes then others tells you to upload your file to their file checker. Their file checker doesn’t accept XML so why say that?
Who on earth develops and documents their shit APIs?
Fuck you Amazon -
Hmm. I've been wondering how I'll deploy an api based on a microservice style the smartest way... The general plan was to use salt to setup the base server and install dependencies and add the configuration.. Doing updates would be a git pull and pm2 restart api. I would love to know how you deploy your software ?1
-
I am trying to implement an API. It has a very good documentation, everything is written clear and simple, along with
- HTTP 401 on unauthorized request and
- Error codes from 1-35 with definitions
Opened the provided sample file, changed the username, password and client code fields to our own in the source, then tried the request. The Response:
HTTP 200
{"ErrorCode":-1,"ErrorDescription":"Unauthorized."}
Well, thank you very much! 🤬2 -
Just removed an API key from one of my GitHub repos (yeah I know API keys don't belong there) and at the moment i pushed the corrected file, I got an email from GitGuardian that it discovered a key in my Repo although i deleted it. Anyone else experienced something similar?2
-
Fuck MS, why couldn't you update the NuGet API URL when NuGet updated? The warning on nuget.org states,
"This package will only be available to download with SemVer 2.0.0 compatible NuGet clients, such as Visual Studio 2017 (version 15.3) and above or NuGet client 4.3.0 and above"
It says nothing about using the V3 endpoint, so if you''re like me and updated NuGet to 4.5 and still got nothing but
"NU1101: Unable to find package Foo.Bar. No packages exist with this id in source(s): https://www.nuget.org/api/v2/"
...then you'll be very confused until it strikes you that there might be a new API version. Even if MS doesn't want to deprecate the V2 API just yet, it would be awfully nice to just state on the frickin' site that not only do you need NuGet >= 4.3.x, but also the correct feed URL.
$_DEITY knows how many dev-hours have been lost to this shit. -
When you have to debug getting data from an api that is only accessible for a couple of hours a day. 1 am to 5 am...
-
Need some help finding a free weather api please.
I need to be able to search the api based on temperature or humidity. Alternatively I could locally store the next 2 weeks of data for every country in a database and update it every night with a cron.
Has anyone used weather APIs before? Could you suggest me some?6 -
When you're to stupid to request an API-key, so you start analizing their whole page, to get the content you desire.
Atleast I learned a lot about HTTP -
Did anyone here ever play with Wikipedia API? I'm trying to get data about some cities, but I don't know how to pick the city if there are different meanings for the same name (city, river, etc).1
-
!!rant && !documentation
Hm, let's see what a semi-beginner can find as a project in Python...
Oh, an API Wrapper seems interesting! *full of joy*
Okay, let's look at the documentation...
HOLY FUCKING SHIT. IT IS UGLY. IT IS INCONSISTENT. IT IS INCOMPLETE AND WRONG. WHY THE FUCK, AREN'T YOU STUPID ASSHOLES CAPABLE OF WRITING DOCUMENTATION FOR YOUR API?
HMMMMMM?
YOU STACK OF SHIT.
IF YOU HAPPEN TO CREATE AN API, AND DONT DOCUMENT IT CAREFULLY, I WILL FIND YOU.
AND KILL YOU.1 -
After a bunch of errors compiling, fixing errors and learning Haskell on the go, I finally created a basic, lacking devRant API in Haskell.
Link: https://github.com/Supernerd11/...7 -
Can anyone link me to anything that says what we can use the devRant API for?
Got a project in mind that would need you to log in via devRant but want to ensure it's even allowed before starting to test out some of it...6 -
What do you guys desire from an API, apart from well-written documentation? One of the things I want to work on is a website with an API, and I want to know what you would want from one. Eg version numbers, error fields, authentication, stuff like that.2
-
Why must all the information about API authentication with Angular must be either outdated or shitty explained?
If anybody have some good, working angular+express server code, please share that to me... -
Is having breaking changes in an API at a very early stage normal? We have like every sprint at least 3 endpoints who have breaking changes 🤔 I mean, is having refactored code better then stability?1
-
Every time I see posts about api's changing I wonder if none of those companies uses api versions, or simply deprecate functions before removing them...1
-
Expectations: "I will just implement a simple checkout with this payment gateway API, it should be easy to get it working. Probably a day or two at most"
Reality: Spend a week fighting with the SDK, the rest API, and the incomplete documentation just to realize you'll need to fork and fix the fucking official SDK just to make it work. -
My colleague has been up my ass for a google api key but they don‘t want to pay, smh my head twice1
-
TMW you make something good with much efforts and dedication, and then the API gets deprecated with breaking changes.1
-
(Question/0.5Rant)
So I am working on a mixed API (aka reachable from anywhere, but also only accessible by specific allowed devices) and I am struggling with the security of it, its not managing anything hardcore (this API is "is the coffe ready?" kind of level) or I would have just enforced per device registration for example already, but the app that goes with that API is deployed remotely and has to be "ready to go!!!" out of the box, so I can't add any registration, verifications of devices etc.
The main thing I am afraid of is, that one of those agent retards will get his spaghetti phone blasted from the inside, so all the https calls will be read out by some random attacker, which then will be able to "abuse" the API via read out api-key, is there any way for me to have a rescue plan if one of those retards does get hacked and the system then get spammed or something, like if I log all devices that use the API I could just deny access from that device (until resolved) and issue a new app update via new api key.
What's the best way of handling this and is my idea really the only way to handle this? this shitfest is really causing shit ton of ideas in my head, which then I deny literally 20 seconds later, because there's a way to bypass it or once you have the old api key to get a new one by just monitoring it etc.5 -
I want to build my own REST NET API, I am familiar with C#. And I was working with Flask, Django and Express.js
The whole webapi structure of dotnet project seems to me a bit strange. Do you have any favourite resources that helped you to get into dotnet?6 -
Public reset API for every online food service?
That would be a great idea, if you consider running a cronjob every day witch randomly selects items form your FavoriteFoodArray.1 -
I need to build a REST API in PHP, what framework could you recommend me?
Lumen (https://lumen.laravel.com) looks fast and relatively simple.
has anyone ever used Api Platform? (https://api-platform.com) What are your thoughts on it?9 -
10 most useful API for developers
1-Google Maps
2-CoinGecko
3-Mail Chimp
4-Open Weather
5-Instagram
6-Yelp
7-Bit.ly
8-Souncloud
9-Dropbox
10-Okta24 -
Worst coding mistake was assuming that the NameCheap domain API was an update and not a replacement. I went to added a test sub domain to our company domain and it cleared out 40 unique sub domains taking down our sites and email until I could manually add them back.1
-
So now you have to upload a government issued ID for access to the Pages API on Facebook?
What a fucking joke Facebook. Just because you screwed with customer's data, you're now making us do this.4 -
Working on weekend, shitty internet and trying to find some method like .getCurrentProductQty(), only to find out that there is no such method, fuck me, fucking useless api3
-
Ever tried to code a plugin for SonarQube? ... Yeah, don't do that. Documented API? Nope. Just some not-helpful-at-all-tutorial.
Largest undocumented code base I have ever seen. It's unbelievable. At some point you decide it's better to look at the code of other (undocumented) plugins to extract any API methods there.
Hep from the (otherwise pretty active) mailing list? - You wish!
The best thing is when you discover on Stack Overflow that the thing you have been trying to do for two weeks (and someone else was too, apparently) is not possible with their API.
PS: Maybe this has changed since their last version but some months ago it was every bit like this. -
Implemented a feature against a "restful" json api. The feature works, test-driven development ftw.
Yet on the run with the live api: certain important fields all only contain the value `0`.
Confused I asked around what's going on, expected a bug in the api. Now I've been told that those fields never worked and the relevant information has to be gathered by either querying against a (deprecated!) mysql database. Or use a different endpoint increasing the http request overhead by factor over 1000.
We call it team work. -
I have a small job I work with another team on Fridays. For the last 2 weeks we've had issues with an API for our accounts server not working correctly. It's been a shitter because it only accepts XML. I've been tearing my hair out all day and getting very little usable info from the company that made the API as we reached the point where we couldn't do anything else without the API working.
Today we discovered the issue. It's that the API receiving the XML was failing because the Bool values were in capital. As far as their API is concerned, "TRUE" != "true". Something not mentioned anywhere on their (incredibly short) documentation.
I might go insane tonight. -
Started working with AWS API Gateway and needed to process some data coming in from an it via AWS Lambda.
After much tinkering with the API Gateway, realised that no matter what I do, the response body of the API Gateway will be a string literal and not a JSON.
Why does this have to be this way? Half a day lost banging the head against the wall.2 -
When a vendor asks you to implement their API on a client site and you spend half a day reading documentation they send you to realise the API is nothing like the documentation.
Contact vendor who replies with:
"Oh, did I send you the link to the v2 API docs? We are on v3 now."1 -
Spend the whole day trying to figure out why that API call returns undefined...
Whitespace character after the variable -
So me and a couple of my teammates were developing a website for artists where all the things related to artists such as artworks, events, geolocation info etc. happen to live.
2 months down the line, the client comes up with another team who is supposed to develop iOS and Android apps to give the users the ability to leverage this data.
Now this team is so annoying that they want the API according to the specifications they provide. That's really weird. API should be generic, right?
But no, this doesn't end here, the PM of mobile app team comes up with a specification document for the API and what does it contain, a few endpoints which go as below:-
/home - To bring all the home screen data
/events - To bring all the event screen data. But here is a twist, on Event screen, they have defined different sections for Upcoming Events, Workshops, Talks etc. And for each event type they don't want a filtered API but just this single endpoint which will contain all event types data in their own JSON keys.
FML
:/4 -
After an hour of head banging trying to get products filtered from woocommerce api, I get to know that filters do not exist anymore. Why would they remove something so important in a newer api version?
Anybody aware of alternatives?1 -
I gotta write a quick mailing solution for an email discussion list, given a budget, so i'm like, ok, cool, let me check out sendgrid api, etc, whatever, right?
Wrong! 10000 members, with an email volume of about 100 messages per member, per day, meaning you're sending at least 100*1000 msgs/day ... or 3 million messages a month!
With most services you're looking at like $2,000 right there. My budget was $100.
So.... wtf. How would you use an api to host a discussion list... seems impractical?
I see no discussion about it, no service addresses it, nothing.
Email discussion list. Can someone point me in the right direction?5 -
Wondering is there good designed template for API Documentation.
Or is there any good tool to generate automatically.?3 -
Why the GMail API docs and example were sucks, thats totally not cool! Yeah I need your API right now, but wtf is this docs, its so fcuking ugly. Even my swagger generated docs much better than this... Arrrrghh!2
-
It seems odd that in a world where Web developers are mostly developing api first there are no tools that allow you to browse an unfinished but already authenticated REST api.
I would really like to have one but programming a full IDE/Project manager sounds like too big of a project.6 -
Ive been working with APIs in web dev for a couple of months now and now I think Im ready to make my own. However, im not really what what I should make an API for. Any ideas?9
-
!rant more advice needed for weather API
I am making a spur of the moment travel app built around a weather API. The problem is I need to feed in temperature and humidity for a date and get a list of countries and all the APIs I'm looking at work on location requests.
So, I plan to solve this using a JavaScript webworker and set intervals to build my own database that I can query.
Would it be better to use a script external to my API or keep the business logic internal?
Best answer receives my warm thanks.
P.S. @dfox there should be a non rant section?6 -
Incomptent 3rd party "services" that you have to integerate with their non-consistent API error codes and useless 'new, more optimized' half broken ETL pipelines
-
Hey ranters, I want to setup a centralised auth backend that assigns multiple logins/API keys to a single user account which is managed through a Frontend application.
Background is we use multiple services each with their own login system and not all support a unified login/auth method for their API.
My approach is to setup a simple API/Auth backend that stores the users credentials plus multiple API-Keys of other services or their logins. When auth is successful the Frontend app may receive the associated credentials for the other backends to call their respective API. So the user can login once but the Frontend may access all backend services without the user noticing that their are other auths.
This should be a really general problem today. I'm really just diving into the topic of auth and Frontend, so I hope to get some guidence/overview from you. My questions are:
- Is my approach totally stupid?
- Are there good frameworks you'd recommend for such a setup?
- Is there a best practice which I've overseen so far?
- Resources you think are a must-read?
- Any other recommendations regarding security here?
So, what do you ranters think? -
I refactor, speed up, and generally slim down our api tests - so our 'api test' specialist QAs can happily dump thousands upon thousands of lines of new copy-pasted test cases in again with every commit, without fear of the test execution pipeline timing out again...
-
So the company is launching this massive new project, I'm tasked with building a dashboard to track the performances of the whole thing in near real-time.
90% if the data comes from this one somewhat rubbish API (3rd-party).
I'm given plenty of time to build this, everything runs fine prior to the launch, manager happy.
Launch day, happening exactly at midnight.
I go and check my dashboard 5 min past the hour, all excited.
Errors, errors everywhere. "What is going on?" I exclaimed. #datHeartAttack
Took me a fair amount of time to figure out the issue.
Due to the time difference I was technically requesting the 3rd party servers for "tomorrow's data," and that instead of handling that in some sensible manner, the API just threw a "wrong fucking date error."
I mean, we're paying additional money, good money, for this API. -
You know it's friday when you don't know how to name a file and you end up with: call-not-api.js... cause call-api is taken and it's not really an api
-
Question: What tools/software do you use to write API documentation of applications with NodeJs back-end (assuming that you can not use tools like ex: sweager for weakly typed languages)?2
-
Of course Yahoo have the worst documented API. Half of the responses either don't exist or are wrong.
I'm so done! -
Hello, anybody knows about any api that can parse delivery parcel tracking code and detect wich transporter it is and get the tracking infos ?2
-
Freaking RESTful API's.
Never worked with one before and I'm using Django Rest Framework.
Currently working (trying to) with Angular 2.
Spent lots of time trying to make angular work because ng needs arrays instead of objects when I finally realized it was a matter of the API.
Have no idea what I'm doing5 -
I was asked by one of our project managers to create a new big API for a customer.. Next day I found out that he already sent a PDF (that he copied somewhere) to the client, containing documentation of the API before I even wrote a single line of code 🤐1
-
Did any test use parasoft for automated API testing before? Is it a good tool used for API test automation? Never heard that since I usually use SoapUI or Postman.3
-
I started to write an API for our application and asked everybody to use it.
Everybody liked the idea, but nobody liked the API.
So now we have api/v1, api/dev1, api/dev2, api/dev3 to do the same fucking operations.
When I complained about them not respecting the guidelines, dev1,2,3 told me it's my fault because I'm the director.
I thought for a while about how to get rid of these apis and I finally agreed with their view.
I removed developer 1,2 and 3 and finally now there is only api/v13 -
Mexico just got for a big earthquake and people is organizing a lots of ways to help.
> Some guys started a webpage and they are adding useful information and data for the people. They create a repo on GitHub to improve information.
> Mexican devs start discussing which technology is better for solving imaginary problems about escalate the servers, concurrency, creating a CMS, creating a public API, tokens for publishing the API... Instead of using something quick like firebase or some Trello to just publish info.1 -
I'm shopping around for response formats for my JSON API. They all suck.
What API have you used that's had the most sensibly formatted responses?
I'm leaning towards Slack's + some of JSON:API5 -
Can any one recommend a good Go framework for APIs with a MongoDB ORM?
Was using Laravel 6/Lumen but it’s API ability is starting to piss me off with its CSRF crap, JWT/Passport implementation and a it’s lack of MongoDB support.
I don’t need any templating engines at all, its all handled by a SPA and Mobile Apps6 -
I have seen references to API keys in several places. I have setup a few for various web services. However, I don't have a firm understanding of how they are protected (or not protected) from being copied and used by apps other than my own. I read a quick blurb from Google that said to use regular authentication over API keys due to them being able to be copied.
So my questions are: Are API keys just a bad way to subscribe services? Is there a way to protect them from being discovered? Maybe the app logs into a auth point for your services and is served the key to use with other services? But this key could still be gleaned from memory. Are API keys going to go away maybe in deference to things like oauth?3 -
I'm thinking of making a email validation api that can check if an email address is temporary disposable email, tld domain, from a free email provider, mx detals, delivery availability etc.
Is this even a good API idea?6 -
!rant
I am doing an API for our training center to store the workouts of the athletes in relationship with the mental & physical load, as well as sleep and health.
How do you document your APIs?
BTW I am using laravel.1 -
Ever had to switch out a whole serializing layer in an API? Damn that's a lot of work :(
At least the 1952 tests are written well... -
Okay...How the heck do I get this Twitter API? I wanted this API for a project that required elevated access. submitted the application and got rejected.
Then I changed my use case and only needed simple Access to implement Login with Twitter. used my university email, and was rejected again.
Do they even give this API to anyone?4 -
Why do you support sessions for an API (not REST)??
You remove the token and still get positive replies because the session cookie allows it.
At least the session in the cookie gets killed when the token is invalidated, but really, why?3 -
postman to manually check api endpoint works
try again later, doing what you think was the exact same shit, which you've documented, reread your document get 404
fuck csrf
use debugger
find out its returning a 404 when the code i added fails, welp4 -
Any ideias what use to create a api with laravel? I install passport but dont work properly on php artisan serve
-
Is there up-to-date API documentation for devrant? I am stuck on the posting API calls, especially on what data is required.8
-
hey guys wonder if someone can help me - anyone had any experience with the dropbox api im trying to build something in php but im more software the web :/
a few pointers would be amazing :)2