外围体育投注

Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts

All about application programming interfaces

r/api

2
pinned by moderators
Posted by
RESTful moderator
4 years ago
Moderator of r/apiArchived
2
1 comment
4
Posted by16 hours ago

Help me API community, you are my last hope! I need an idea for a API project, this should be basically a full stack website that uses information from an API. Anything you suggest will be much appreciated, anything you did on the past (like your first project) will be awesome to know about.

Thanks in advance!

4
3 comments
45
promotedPosted by1 day ago
Comments are locked
View Comments
Play
0:00
0:00
Settings
Fullscreen
45
0 comments
5
Posted by1 day ago

Looking for a simple high level answer on the first part.

I'm tasked with taking contact data from one of my company's vendors and ingesting it into our CRM platform. Obviously, the JSON fields aren't a 1:1 mapping, so I imagine I'll need to take the incoming data, and for each contact, do the mapping myself, and format that to fit the destination CRM's platform. I plan on using Python3.

My suspected work of mapping fields, is that a common scenario? Before I get into the weeds on the project, am I doing work that's already been standardized with a default library?

I don't have the source platform's API key yet, so I can't provide an example record.

Bonus:

I'll need to periodically update the CRM with changed contacts from the source. I'm familiar with MySQL and having record IDs. Will I need to maintain a mapping of the source and destination IDs or do APIs tend to not duplicate data?

The source API's endpoint has a since since parameter, where I can grab data that's been updated in the last X hours.

5
5 comments
1
Posted by1 day ago

外围体育投注disclaimer: my technological ambitions far outweight my knowledge/abilities, so I'm not really able to talk much technical jargon, and don't have a great grasp of the terminology, but I can try to understand.

外围体育投注spotify has a web api, I've used premade ifttt applets with webhooks and spotify succesfully, but there isn't a way on ifttt to add new applets from what I've seen, they only have 2 options to create for spotify and webhooks and nothing to do with deleting songs.

I want an applet ifttt or zap if it's zapier to connect the two applications and delete the current song from current playlist, then use an applescript and shellscript code to execute it, if that's necessary. I use a similar setup to add current songs to specified playlist.

I emailed zapier support if it's possible, and I got a reply from someone saying

"Spotify's web API does support a "Delete" request, so it might be possible to delete a song from a playlist using a custom webhook. I don't think you'd need to add any custom scripts for this."

"There are a few variables you'd need to provide, such as the playlist ID."

is this something that seems doable? I don't know enough to do it myself but I could get someone smart on freelancer or stack overflow to possibly help put it together

外围体育投注It's not absolutely essential but would be quite handy to me, as I could control from outside the application, as I already mostly do.

外围体育投注thanks for any responses.

1
2 comments
1
Posted by1 day ago

1
0 comments
2
Posted by2 days ago

外围体育投注We bought some temperature devices that you can enter an external server, and it will post events to a tcp server / port. I'd like to create a simple tcp server to take one particular event, and log to a database. Running a simple tcp server with the port shows me the post I want to capture.

外围体育投注POST /LAPI/V1.0/System/Event/Notification/PersonVerification

{"Reference":"","Seq":4,"DeviceCode":"210235C4CF3205004111","Timestamp":1597199390,"NotificationType":1,"FaceInfoNum":1,"FaceInfoList":[{"ID":4,"Timestamp":1597199272,"CapSrc":1,"FeatureNum":0,"FeatureList":[{"FeatureVersion":"","Feature":""},{"FeatureVersion":"","Feature":""}],"Temperature":36.3,"MaskFlag":0,"PanoImage":{"Name":"1597199272_1_0.jpg","Size":0,"Data":""},"FaceImage":{"Name":"1597199272_2_0.jpg","Size":0,"Data":""},"FaceArea":{"LeftTopX":0,"LeftTopY":0,"RightBottomX":0,"RightBottomY":0}}],"CardInfoNum":0,"CardInfoList":[],"GateInfoNum":0,"GateInfoList":[],"LibMatInfoNum":1,"LibMatInfoList":[{"ID":4,"LibID":3,"LibType":3,"MatchStatus":1,"MatchPersonID":0,"MatchFaceID":0,"MatchPersonInfo":{"PersonCode":"","PersonName":"NormalTemperature","Gender":0,"CardID":"","IdentityNo":""}}]}

外围体育投注Could anyone point in the right direction on the best way to do this? I looked at some automation with streamsets, mongodb, etc.

Thanks in advance.

2
7 comments
7
Posted by4 days ago

As you know GPT-3 is very popular nowadays. Great examples were made since it has capabilities to write React code. One of the developers even made it possible to create design elements through the Figma plugin. is a getting started article to see some cool examples and how to benefit from it as an API.

7
2 comments

About Community

Have something cool to post about the Imgur API, or the Facebook API, or your own API? Educate us or brag about it here!
3.8k

Members

11

Online


Created Oct 11, 2009

Moderators