Consuming HTTP Services in Python Transcripts
Lecture: You've done it!
Login or purchase this course to watch this video and the rest of the course contents.
0:01 You've done it, congratulations, you've made it to the end of the course, and you've learned a lot about services, in fact,
0:09 let's dig into what you have learned; so, remember, we started by saying it's a services world, well, now, these services, these can be your services,
0:19 you now know how to work with all of these services, and many more and if we want to add these to our application, remember,
0:24 all you need to know is a lot of the stuff that we've covered in this course- requests, the http verbs, json, xml and so on,
0:33 but because we've gone through this, we can actually look more carefully and deeper at these,
0:38 so if we look at the github API, the github API is a proper http API you make request over http and you get json back,
0:45 Twillio is actually a rest, restful API so you exchange json but you make use of the full spectrum of the http verbs put, post, delete and so on.
0:55 Slack again, http json, MailChimp is a very erstful service so again, working with the http verbs in a slightly richer way,
1:06 Stripe, http and json, very nice, all of these you know and you can do them either with requests or even with the builtins
1:13 if you are willing to do the funkiness that the builtins make you do. We have Salesforce, which has an http json API but it also has a Soap API
1:22 so for some reason if you really wanted to use it, you could, I would stick to the http API but you now, similar services, these enterprise,
1:30 all legacy apps that are running within your business, if they are doing Soap, you now know how to get to them.
1:36 Send Grid http rest, Basecamp- very restful, we actually used this API as our example, when we started talking
1:43 about a full restful API using the http verbs, not just playing http get and Json.
1:48 So, it is now your services world, go out there and build something amazing, using what you learned in this course, and if you do,
1:56 come back and let us know here at talkPython training, we'll put it up in our student showcase at training.talkpython.fm/showcase.
2:04 All of the code that you saw me create on the screen during the course here, is available in github, at the beginning I said
2:12 hey you should go get this repositories star it, fork it, download it, whatever,
2:16 well, just one final statement, make sure you go here and at least star this maybe download it, maybe fork it, whatever you want,
2:22 but, this is all complete, everything you've seen in the videos should be up there and available for you, right now.
2:28 Let me leave you with some wise words from our friend Yoda- Do or do not. There is no try.
2:34 So it is time for you to do, really the way you learn programming, is to work through examples, to try things, to explore things, to make them yours,
2:43 so I hope you've been following along and writing examples and trying out these APIs on your own, without looking too much
2:49 at what I've been building and looking at the examples only if you get stuck. If you haven't been doing that, here is one final recommendation,
2:57 go back and look at the services that we've talked to and write an app that works with each one of them;
3:03 get yourself some hand on experience and you will be much more comfortable working with these APIs over time.
3:09 Alright, that's it thank you so much for talking my course, I hope you enjoyed it, and I'll see you around, bye.