problem integrating library

Hello, in the past i have downloaded files from github to my arduino libraries folder and it shows up in my examples. When i tried to download this file here which is the esp8266 library from github and when i put this folder in my Arduino libraries folder and update my library's it says "Invalid library"
Any help. Thanks