Looking for an scalable api solution [closed] - api

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
iam new on stackoverflow and this is my first question.
Sorry for my typo's or bad gramar, my english is not verry good.
Situation:
Iam doing research for a kind API.
We building an system for sending out messages and alerts to end users. Endusers can recieve the messages and alerts on mobilephones over an app (IOS, Android, Windows), over SMS or .........
For this an backend is in development by another team. This backend contains and user interface for add messages or alerts (notifications). This backend contains ALL the notifications. This backend need to push all actual notifications to an API system witch holds only the actual notifications.
This api need to send out an new alert as an push message to the app. Normal messages are not pushed to end devices.
End devices and 3th party users can be ask data (normal messages or alerts) on from the API (with an filter if they are configured) Example: Give me all the messages from the city Heerlen or all messages that contains the word "car".
When there are new messages or alerts inserted in the backend, the backend updates the api data. When the api recieves an new alert, he send out and new push notification for the new alert.
Update---------------------------------------
This all is necessary because the API and the Backend need to be operate separated from eachother. So when the backend goes offline the api will still work. Otherwise when the api goes down the backend still works.
END Update---------------------------------------
The api is allways online but don't need to handle a lot of requests. At the moment there is an alert, the api needs to send out 2.000.000 notifications so scalablity is an must! After an alert a lot of requests need to be handled.
Now my questions:
- Is there an existing software solution(s) that can be configured or used for my problem?
- Can we better build an own solution for this problem, maybe based on an framework?
- Are there frameworks that can be used for create an api with this functionality?
THANKS A LOT for understand my bad english, problem and trying to help me ;-)
EDIT---------------------------------------
Maybe this image make my situation a bit better understandable
Wished situation image
I think i found some solutions by my self but iam not sure if they can provide my requirements and iam not sure i can use it for my problem.
Amazon API Gateway
tyk.io
WSO2
END EDIT---------------------------------------

I couldn't find an solution so i talked with my teacher at school and he told me that it doesn't matter how i solve this. The only thing i need to do is unlink the api from the back end so the back end stays online when the API is timed-out or goes offline. Otherwise the API needs to stay online when the back end is in maintenance. I have updated my question with this information!
I did a lot of research and i couldn't find an software solution that solves my problem. BUT i have found an other solution that solves my problem.
I create an second backend with an own database. The main backend manages the data in the second backend, the "API_backend". This mini backend only provides data for the API. The API gateway (yes i found that this is the name of the API thing) gets his data from this "API_backend" and provides it on all the end devices.
I have make an diagram of it. visit it
The Alert push problem i solved by sending an push message to the app over google cloud message. In case of an alert the app regonizes that it is an alert in stead of an normal message and then it wil ask the new alert information to the API.

Related

How long takes investigation of developer account? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 years ago.
Improve this question
I'm game developer and I've pushed game through appstore connect, but first time they rejected my game with message :
Guideline 2.1 - Information Needed
>This type of app has been identified as one that may violate one or >more of the following App Store Review Guidelines. Specifically, these >types of apps often:
>1.1.6 - Include false information, features, or misleading metadata
>2.3.0 - Undergo significant concept changes after approval
>2.3.1 - Have hidden or undocumented features, including hidden >"switches" that redirect to a gambling or lottery website
>3.1.1 - Use payment mechanisms other than in-app purchase to unlock >features or functionality in the app
>3.2.1 - Do not come from the financial institution performing the loan >services
>4.3.0 - Are a duplicate of another app or are conspicuously similar to >another app
>5.2.1 - Were not submitted by the legal entity that owns and is >responsible for offering any services provided by the app
>5.2.3 - Facilitate illegal file sharing or include the ability to >save, convert, or download media from third party sources without >explicit authorization from those sources
>5.3.4 - Do not have the necessary licensing and permissions for all >the locations where the app is used
After that I've re-checked all information I've provided and answered them that everything is okay with application and they changed status of my game to "In Review"
After that they responded :
>
Hello,
>We are unable to continue this app’s review because your Apple >Developer Program account is currently under investigation for not >following the App Store Review Guidelines’ Developer Code of Conduct.
>Common practices that may lead to an investigation include, but are >not limited to:
>• Inaccurately describing an app or service
>• Misleading app content
>• Engaging in inauthentic ratings and reviews manipulation
>• Providing misleading customer support responses
>• Providing misleading responses in Resolution Center
>• Engaging in misleading purchasing or bait-and-switch schemes
>• Engaging in other dishonest or fraudulent activity within or outside >of the app
>During our investigation, we will not review any apps you submit. Once >we have completed our investigation, we will notify you via Resolution >Center.
How long it that investigation taking time?
And
Why they are rejecting my game ?
I've tried to write app store developer program contact us , but they are just answering to wait and nothing more.
My Developer Account they investigating three months already :) And I think it will end with the ending of my enroll. Maybe this is their plan :)
Today, I got same message. I have nearly no hope. My account will be terminated I guess. I transferred my other apps just problem app was staying. Not to lose other apps when account will be terminated. I will edit when I will receive any messages

Identifying online users in WebRTC [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am trying to create a website which implements webrtc functionality.But in all the samples and reference documents , I was unable to find how to select for a specific user to chat with. Do i need to have some server kind of setup to list all available users or anything like that. Any sort of ideas will be helpful.
For eg:
In all the samples which i refered, the user was joining a particular room or a session and the other recipient also joins the same room for chat.But what i need is something similar to skype or hangout which shows the callee status before call, and want to get rid of this chat room concept.
There are three core areas of any real time communication service:
Presence - identifying who's online and who's available to speak for a call. (e.g showing a contact list and identifying who's online)
Signaling - initiating the call, exchanging IP addresses, negotiating capabilities, hanging up. In a lot of cases, Signaling and Presence can be combined into a single service.
Media connectivity and streaming - actually getting "connected" to the other endpoint and streaming audio/video. It typically requires some assistance from the signaling service to get the initial set of local, stun, and turn addresses exchanged in order to establish a connection with the other node. It also includes the codec technology, streaming code, and rendering.
Unless something has changed, WebRTC, to the best of my understanding, is just about #3 - media connectivity and streaming. It still requires the website to provide signaling (exchanging the SDP messages).
There are some companies and open source projects that indicate they provide the complete solution, but I've never used any.

Shopify App development tutorials [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm not sure if this is the right forum since I do not have a specific development question - but here goes :)
I'm looking into creating a Shopify app to use on my Shopify shop's frontend.
I've been looking through the Shopify documentation and the API seems great - and it looks like a breeze to get up and running with an app (a private app at least).
But how do I use the app after I've created it?
Let's say I create a new ASP.NET MVC site with a single controller (Home -> Index) that returns a view that simply says "Hello World". (in the future the controller would of course call the API and the View would do amazing stuff with the data etc.)
Now I would like to use this amazing site as an app on my Shopify shop's frontend.
How in the world do I do this? :)
I can find a lot of tutorials about how to call the API and how to setup a private app in the Shopify admin - but how do I actually use this app on my frontend?
I'm not looking for an explanation about public apps and OAuth etc. (although a tutorial for this would be great too) - but for starters just a tutorial on creating and using a private app.
Any great tutorials / Udemy courses / Pluralsight videos etc. out there I've missed?
Thanks guys.
The first thing I would recommend is looking at the Shopify API libraries available. For example the Shopify API Gem in Ruby.
to get your app connected you need to do the following:
1) Get a developer's account on Shopify (partner account) and create an app.
2) Grab your API and secret key
3) follow the instruction on the API libraries like in the link provided (steps 1-7) and you should be able to get your app started.
(Essentially, grab the permanent token from Shopify and you will be able to make API calls and get all the data from the store you want).
Check the shopify application proxy.
According to the doc, "an application proxy allows your application to add functionality to the frontend of a shop".
If you are doing it for a client or for your store, I'd suggest you to try with private apps.
I have built a marketplace model for a store which utilizes /pages/ template to do the following:
Registration functionality for individual vendors. (Data stored in external database)
Login function for the users from above step.
A dashboard presentation of the collection the vendor, including all uploaded/approved products/individual product sales/revenue earned etc.
Point 3 requires admin requests to the shop and retrieve/post required data, and then present it on the front end. This can be only achieved using an app. In my case a simple private app (literally you require only the API KEY and APP PASSWORD) built on JavaScript functions did the trick.

Apigee API to check if platform is alive [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I know Apigee comes with several out of the box API to do deployments and query various pieces of information. Is there a lightweight out of the box API that we can give to our customers to verify if the APigee platform is still alive and running? This will prevent them from sending us API traffic when the system is unable to process it.
The following may be a good partial solution, but it really depends on how you intend to expose this information, where your monitoring server sits in the architecture, and what facilities you have to process/report status. That said...
Depending on what you define as 'lightweight', there is an option for OPDK installations to CURL on the following:
http://{management-server-ip}:8080/v1/servers
To check status, there is a field called IsUp (Boolean). To get more specific, you can use the query parameter type so you can get back specific components. The valid values are:
http://{management-server-ip}:8080/v1/servers/?type=app-datastore
http://{management-server-ip}:8080/v1/servers/?type=kms-datastore
http://{management-server-ip}:8080/v1/servers/?type=message-processor
http://{management-server-ip}:8080/v1/servers/?type=router
I don't believe this is possible on Cloud due to the nature of component resourcing.
If you are trying to determine whether Apigee is able to serve your own APIs, it might make sense to create a ping API call manually. You might want a couple of different flavors -- one that immediately turns around and responds from within Apigee (testing connectivity to the Apigee layer), and one that pings your backend servers (testing end to end connectivity). Anything out of the box wouldn't be able to ping your backend.
What many customers do is create a "Health Check" API Proxy.
This can just be an Echo Server, which you can easily create by building an API Proxy with No Target.
In the New API Proxy tool, choose (o) No Target. And that's it.
Then whatever data you pass to that proxy will be returned in the response.
For example:
$ curl http://{your-org}-{env}.apigee.net/v1/healthcheck -d "Hello"
Hello

API for sending text messages from web application to cell phones in Canada [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have to send text message reminder to cell phone of a customer. That should be handled from web application (or automated with windows service). Text message should be sent to Canadian cell phone and provider of that phone is not exactly known beforehand (can be Bell, Telus or anything else).
Is there any reliable API provider for such task? I need a web service that would be integrated with .NET application for doing it and it should be either free or inexpensive. I did Google search on the topic and it seems there some providers out there but it would be really great to hear from somebody who can have real experience with such API provider. My goal is to send about 10000 remainders per month.
I would appreciate if you could advise.
Thanks!
I have had good luck with TextMarks. You pick a keyword that your users send in an SMS message to the TextMarks shortcode number. This confirms that the mobile user has opted in to receive SMS messages from you. You can then send them SMS messages and even create programs that respond to a users input. For example, have the user send a zip code and get a response of stores nearby. They are relatively inexpensive and offer various tiers of pricing, including a free trial option.
I also came across ClickATell which is able to provide you with a unique shortcode. However, last time I checked getting a unique shortcode was in the range of $500 per month plus costs you would incur to send messages. Here's their pricing calculator:
http://www.clickatell.com/pricing/pricing_wizard.php
TextMarks doesn't work in Canada, but we do have a .NET API wrapper that we just released. If you were looking for this for the US, we could help you.