open-source-ideas / ideas

💡 Looking for inspiration for your next open source project? Or perhaps you've got a brilliant idea you can't wait to share with others? Open Source Ideas is a community built specifically for this! 👋
6.59k stars 220 forks source link

Simple framework/package that integrates most used API's in a central place #96

Open iradustefan opened 6 years ago

iradustefan commented 6 years ago

Project description

Many times I or many of us get in the same frustrating problem of implementing the same API's over and over again, and in most cases the implementation is very similar. In my vision it would be helpful a simple framework that works in the same way for many languages/frameworks. This is nothing new, but if those API's were to trigger events and could be interconnected that would be rlly nice.

As an example:

Relevant Technology

Probably JS, and any other server-side language that one would be conformable.

jegfish commented 6 years ago

I think the start of this project should be defining a specification for how the APIs should be implemented. Once you have a specification, you can write an implementation of this framework in any and all languages, although large differences between popular languages would have to be considered e.g., object oriented vs functional.

Also, this reminds me of something I saw a while ago about common or small API wrappers.

Maybe this is what you're looking for? Or a possible starting point/resource to learn from?

minarch91 commented 6 years ago

К сожалению я не програмист и не имею спецификации.Я только зарегистрировался в надежде найти профессионала,который помог бы реализовать ИДЕЮ в обертке Blockchein, масштабирование, ICO и так далее... https://boomstarter.ru/projects/63604/13459911.08.2018, 22:10, "Altarrel" notifications@github.com:I think the start of this project should be defining a specification for how the APIs should be implemented. Once you have a specification, you can write an implementation of this framework in any and all languages, although large differences between popular languages would have to be considered e.g., object oriented vs functional. Also, this reminds me of something I saw a while ago about common or small API wrappers.

Article Project

Maybe this is what you're looking for? Or a possible starting point/resource to learn from?

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

FredrikAugust commented 6 years ago

@minarch91 Sorry, but do you mind speaking English here?

Извините, вы можете говорить по-английский?

minarch91 commented 6 years ago

С переводчиком

FredrikAugust commented 6 years ago

Ну, это лучше чем ничего. Если тебе надо помощь переводить, я могу немного помогать, и может быть @kolanich тоже ;)

minarch91 commented 6 years ago

Я не программист и наверное случайный пассажир на GitHub. :) Вообще мне нужен IT специалист который поможет мне с упаковкой и реализацией социального проекта в Blockchain.Не потому что это модно сейчас ,а из-за того что сложившаяся социальная проблема будет иметь решение с применением Blockchain.

iradustefan commented 6 years ago

I think the start of this project should be defining a specification for how the APIs should be implemented. Once you have a specification, you can write an implementation of this framework in any and all languages, although large differences between popular languages would have to be considered e.g., object oriented vs functional.

Also, this reminds me of something I saw a while ago about common or small API wrappers.

Article Project Maybe this is what you're looking for? Or a possible starting point/resource to learn from?

iradustefan commented 6 years ago

@Altarrel Thank you for your feedback it was a good read and rly helpful. The direction I am trying to go with this is not so much of a wrapper over x,y API's but more of a ecosystem that let's you bind( couple ) different API's into a series of actions that eases someone's job.

Inside my head this sound great but I am not sure if I am saying it the proper way.

👍 For the feedback. Cheers, Radu

StefansArya commented 6 years ago

Maybe it's just like a collection of Google, Twitter, Facebook, Youtube, etc's API in a single framework/package?

If yes, I think you can use HybridAuth

KOLANICH commented 6 years ago
a message for @minarch91 вам следует 1. создать новую issue, а не засорять уже существующие и близко не связанные issueи оффтопом, где описать вашу идею: * **подробно** - без этого не имеет смысла создавать; * не вынося основное содержание на другие ресурсы - большинство сочтёт это за неуважение и даже переходить по ссылкам не будет; * на английском языке - "холодная война" давно прошла, и русский язык менее популярен на Западе, большинство вас просто не поймёт. Можно использовать гуглопереводчик, но опять же, большинству это не нужно. От вас не требуют безупречной орфографии и грамматики, тут к этому относятся очень толерантно. Помните - это в первую очередь вам нужно, чтобы вашу идею реализовали. 2. удалить ваш оффтоп. Тут есть люди с полномочиями модератора, но мне кажется, что будет лучше, если вы это сделаете сами.
jegfish commented 6 years ago

@raduiacovete maybe you could provide some code examples of how you want the framework to be used?

EDIT: they don't have to run or even really make much sense, just something that shows how you would like to interact with the framework.

iradustefan commented 6 years ago

@Altarrel

Let's say we got a list with already implemented APi's. We got: trello, slack, git and others

For each of these you have credentials to auth/login so an .init(options) function would be available. Once logged in you have direct access to trello hooks, slack hooks and so on.

An real example of usage: Whenever I commit/push some code on git, a hook will be triggered, the commit msg will have some tags related to a trello card the hooks will be triggered and the card will be moved in another column (Ready for QA). Once the card is moved the slack hook is triggered and posts a message on the QA room with details about the commit/card or smt and vice/versa.

This was the first example that went through my head, I hope it makes sense and I expressed myself in an understandable manner.

👍 For the feedback guys.

iradustefan commented 6 years ago

@StefansArya

The posted example is great, and this could be based on that but not sure about it. It's somehow related but not quite the same thing.