During the COVID-19 emergency, NYPL is closed but you can still get a library card if you don't have one! You will need to download the library's free SimplyE app (for Android or iPhone) and follow the instructions during setup. Anyone who lives, works, or goes to school in NYC is eligable. Then you can access a wide variety of online resources, including tutoring, e-books, and remote database access.
During the NYPL closures, they have arranged to allow NYPL library card holders to access Ancestry genealogical and historical database. While it is primarily a database for genealogical research, it does contain primary source historical records including the US Census, photographs, and maps. From the Ancestry Library Edition NYPL page, click on the "Connect to Database" link and enter your NYPL card information