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