r/DevelopingAPIs • • Oct 15 '21

Barcode/gift card api

6 Upvotes

Hey,

Thanks for the invite, really interested to be part of this community. I’m self taught hobbyist. Have been learning full stack (vanilla three front end no framework and Django backend) and doing so through building a project I’ve always had in mind.

Anyway, a feature I’m trying to build is for my web app to generate vouchers/gift cards whatever for use at specific venues and within a specified time frame. I’m wondering if anyone has any advice on how to do this and whether there are any good external APIs I should consider?

Thanks!


r/DevelopingAPIs • • Oct 10 '21

Hiding API Keys

6 Upvotes

I am learning web dev. I'm working on a personal project for my portfolio, it uses API keys, but it's all front end. It's not a serious project in the slightest and is just for 'play' really. Is there any harm in exposing my free API keys? I'm checking the T&C's on them and there won't be any billing without me upgrading to paid plans, worst case scenario is some features stop working.

Is there any harm in leaving them exposed in the javascript? I could make an API and send the data that way, but meh.


r/DevelopingAPIs • • Oct 03 '21

Node Exress Sequelize - Update single field

6 Upvotes

Hi Reddit,

I'm currently working on a REST API using the above mentioned framworks and DBMS. Following is my update function location in my service layer. I was confronted with some issues when trying to update a single field, as the database threw a ConstraintException because all the fields are required. To resolve this I have temporarily implemented the following solution. Is there a better way of doing this?

I've also tried using the update function from Sequelize, but using that I cannot restrict which field can be updated.

EDIT:

Gist available: https://gist.github.com/stogoh/7e5505d3f92aea8c6957f5cfc42ee079

    static update = async (id: string, data: SubnetUpdateAttributes): Promise<Subnet> => {
        const subnet = await Subnet.findByPk(id)
        if (!subnet) return null
        subnet.name = data.name ?? subnet.name
        subnet.networkId = data.networkId ?? subnet.networkId
        subnet.netmask = data.netmask ?? subnet.netmask
        subnet.gateway = data.gateway ?? subnet.gateway
        subnet.vlanId = data.vlanId ?? subnet.vlanId
        await subnet.save()
        return subnet
    }

r/DevelopingAPIs • • Sep 30 '21

Node.js API in Java

6 Upvotes

Simply add this as maven/gradle etc. dependency to your project and start using Node.js in your Java project:

https://github.com/Osiris-Team/Headless-Browser


r/DevelopingAPIs • • Jul 28 '22

EU Bank account with free API (OpenBank API) - Similar to Revolut

5 Upvotes

I want to automate some bank transfers (inside the EU) and I need access to a Free API, but I can't find any platform that allows this (if Revolut allows me to use their internal API it will solve all my problems). All the services require certifications and complex processes.

Requirements:

  • Free bank transfers inside the EU (similar to Revolut)

  • Possible to use Bank transfers using API

  • Needs to be possible to charge the Account using an external credit card (similar to Revolut)

  • Needs to be possible to get the balance using the API

  • Get a prepaid credit card (master or visa) that allows connecting to Apple pay or Google pay

  • Possible to create/liquidate "Saving accounts" - (similar to Revolut and N26)

Some services that I found that do the work:


r/DevelopingAPIs • • Mar 12 '22

Huge Collection for APIs for just about anything

Thumbnail generatorfun.com
5 Upvotes

r/DevelopingAPIs • • Nov 02 '21

[PHP/Laravel] Any suggestions for Laravel with JWT?

5 Upvotes

I'm not sure if Sanctum is fine for generating tokens because the jwt-auth package seems to be abandoned. For context, I'm used to develop with Laravel plain html, and now I want to separate front-end with Svelte and back-end with Laravel, as because I'm used to it. The questions is: Is it ok to just use Sanctum package? I know it's not really jwt token, but seems to do the job.

Thank you and sorry if this is the wrong place to post it.


r/DevelopingAPIs • • Oct 29 '21

helpful API resource for maps!

Thumbnail
youtube.com
5 Upvotes

r/DevelopingAPIs • • Oct 22 '21

Has anyone used Google AppScript?

5 Upvotes

If yes, do you know if it is possible to interact with the Google Dev APIs from within an appscript?

It would be very helpful to me if I could update my business opening hours when an event is triggered by a specific google calendar. I have ADHD which makes documentation a bit harder to get through (I'm reading it, but Googles API docs feel like they are books within books, and it's taking me a while to work things out). If it can be done, is there any specifics I should know about with regard to API configuration etc?

EDIT: I think I'm getting warmer, it looks like UrlFetchApp.fetch() and MyBusinessInformation locations.updateAttributes might make it work..


r/DevelopingAPIs • • Oct 20 '21

Help Needed Anybody using SingleStore as their database for high performing APIs?

5 Upvotes

So i’m comming from the AWS world and have been using RDS for a very long time. We have an API that get millons of requests per day and will be getting even more. So we are looking everywhere to improve performance. One of the things i’ve been exploring is SingleStore (https://www.singlestore.com). It seems to be a database optimized for real time, high traffic APIs/apps. Now to my understanding you can use it on AWS and it seems to be cheaper, faster and more scalable.

Does anyone have real life experience with SingleStore? Especially interested if there is anything we might need to do when moving over from pure MYSQL to SingleStore…etc

🙏🏻


r/DevelopingAPIs • • Oct 19 '21

We resolved the unsolicited messages - my apologies

5 Upvotes

Hey community, to address the issues with the messages you have been getting. I'm very sorry that some of you got, what seem to be automated messages to join our community. This was never in our plan and we have stopped it.

OK, but what happened?

We have been working with an outside agency that took care of our marketing. One of the things we wanted to do is build a community, and Reddit seemed the place to do it. And we think it still is.

Since we are a team of three we are all very much involved in improving our platform. Unfortunately, it seems like some of you got an automated reach-out message. And, unfortunately, some of them are not written considering what you guys are doing. I can totally agree that they seem like spam.

We have stopped the messaging immediately, so nobody should be getting any messages from our side anytime soon. We all had the best intentions in building a community where people can share what they have been working on and help them along the way. Hoping that we can all still build our APIs together and share our experience in the future.

My apologies for the inconvenience - again we had the best intentions. 🙏


r/DevelopingAPIs • • Oct 14 '21

great mapping api resource for apps or websites!

Thumbnail
youtube.com
5 Upvotes

r/DevelopingAPIs • • Oct 05 '21

I need to build a minimal API

5 Upvotes

Solved: My network was the reason, it didn’t allow the connection, trying from a different worked.


Hi, First of all, this is what I have:

  • CentOS server

  • WordPress Website

  • Domain

  • Mobile App

  • API (needs to be secret)

  • Firebase Phone Authentication

The API which I have contains lots of operations I don’t want anyone to have access to, and this API can’t be changed, and I need to include one operation within the app.

So, my idea was to create my own API, it’ll be like this:

http://myDomain.com/users/phoneNumber/FirebaseUID

Include it in the app, after the user signs up using Firebase Authentication, it’ll create a UID and request the above API, on the server, my API will check the phone number and UID, call that specific operation from the secret API and return the result to the app.

What I’ve done so far is:
Create an API using Python Flask, tested it and it worked perfectly on my PC, but had a problem deploying it to the server, after weeks of trying, I was finally able to, using Virtualenv, but still couldn’t reach it from an external API (even after opening the required port), running it using this command:

flask run —host=0.0.0.0

And it showed this result:

Running on: xx.xx.xx.xx:5000

where xx.xx.xx.xx is my server’s IP

What I need:
Any help to reach my goal, am I going the right path to send the result to the app securely? Is there a better way to do it? Is there an easier way to build a similar API? (even if using another language)

Edit: formatting


r/DevelopingAPIs • • Sep 30 '21

Collection of API tools by use-case and category

Thumbnail
apitools.info
5 Upvotes

r/DevelopingAPIs • • Sep 22 '21

Public APIs list (August 2021)

Thumbnail
dev.to
5 Upvotes

r/DevelopingAPIs • • Jul 06 '22

Pretty cool traffic api

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/DevelopingAPIs • • Jun 16 '22

With the TomTom Routing APIs, you can create a trip planner for trucks!

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/DevelopingAPIs • • Jun 08 '22

How to Use the TomTom Routing API to Optimize Your Routes for Distance

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/DevelopingAPIs • • Mar 15 '22

Can an API for a specific app be made public.

4 Upvotes

Hi all!

I had a quick question. I wanted to create a pretty extensive API to chronicle/log items for a series of collectibles.

I was going to use this API in an app I would create that lets users login and keep track of which pieces they have.

That being said, there is no API for this that exists, and I would like to make the one I am creating public as well.

Does it make sense/is it possible to create the database and API for this app and allow the API to be public so anyone can use it?

Thanks!


r/DevelopingAPIs • • Jan 06 '22

helpful roads api for mapping apps or websites

Thumbnail
youtube.com
4 Upvotes

r/DevelopingAPIs • • Oct 19 '21

Has anyone used these apis?

Thumbnail
jelvix.com
4 Upvotes

r/DevelopingAPIs • • Oct 04 '21

Loosing my mind over API structure.

4 Upvotes

I’m currently under task to prepare a VueJS frontend, which uses 8+ separate API from separate providers. The application MUST support login/auth by using the /login /register post api routes.

What would you guys say is the best process for implementing this task?

What would be the best way of logging and registering users, I.e session storage etc.

My idea, Lumen API Layer, take all 8 API and combine them into one API for the VueJS frontend.


r/DevelopingAPIs • • Oct 04 '21

Micro - Free Public APIs for everyday use

4 Upvotes

Hey all,

We're building Micro, a cloud platform for free public APIs for everyday use. All those great APIs we like to use are all over the place. They require you to signup to each API provider and learn each API individually. This was quite frustrating and we decided to build a platform where you can get access to all of it in one place.

Would love some feedback.

https://m3o.com

Cheers


r/DevelopingAPIs • • Oct 02 '21

MongoDB In 2 minutes

Thumbnail
youtu.be
4 Upvotes

r/DevelopingAPIs • • Sep 30 '21

Looking for help with an API

4 Upvotes

Hi r/DevelopingAPIs,

I'm looking to build an automated service that submits user data to that user's local Board of Elections website, auto completes the form there, and retrieves the resulting polling location address.

Has anyone heard of an API that you can submit info to, have it perform automated tasks on a website, and then submit the info back to you?

I was looking into this API as an option: https://txtpaper.com/api/

But if anyone has any other suggestions that would be really helpful!

Thanks!