Newt Scamander is the fictional author of Fantastic Beasts and Where to Find Them.
Within the Harry Potter universe, the book is presented as a Hogwarts textbook written by Newt Scamander. Harry, Ron, and Hermione supposedly own a copy, and the schoolbook’s notes provide extra jokes and details about magical creatures. The fictional author is not Rowling herself, even though Rowling wrote the real-world companion book.
The original companion volume was published in 2001 for charity, alongside Quidditch Through the Ages. Rowling credited the book to the fictional Scamander, turning a small piece of wizarding-world background into a character with his own history.
Scamander later became the central character of the Fantastic Beasts film series, beginning with the 2016 film. Eddie Redmayne played him in those movies. The textbook and the films therefore share a name and character but are different kinds of works.